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]
|
||||
link = db.ChatLink(event['room_id'], tg_id, True)
|
||||
db.session.add(link)
|
||||
|
||||
db.session.commit()
|
||||
|
||||
continue
|
||||
|
||||
link = db.session.query(db.ChatLink)\
|
||||
|
Loading…
Reference in New Issue
Block a user