Fix links not getting added to the database
This commit is contained in:
parent
c705e8823c
commit
ad842ada4d
@ -173,8 +173,8 @@ async def matrix_transaction(request):
|
|||||||
tg_id = alias.split('_')[1].split(':')[0]
|
tg_id = alias.split('_')[1].split(':')[0]
|
||||||
link = db.ChatLink(event['room_id'], tg_id, True)
|
link = db.ChatLink(event['room_id'], tg_id, True)
|
||||||
db.session.add(link)
|
db.session.add(link)
|
||||||
|
|
||||||
db.session.commit()
|
db.session.commit()
|
||||||
|
|
||||||
continue
|
continue
|
||||||
|
|
||||||
link = db.session.query(db.ChatLink)\
|
link = db.session.query(db.ChatLink)\
|
||||||
|
Loading…
x
Reference in New Issue
Block a user