Fix aliases-related breakage
This commit is contained in:
parent
15e84f6861
commit
fea8d89493
@ -171,7 +171,7 @@ async def matrix_transaction(request):
|
||||
except KeyError:
|
||||
pass
|
||||
|
||||
if event['type'] == 'm.room.aliases':
|
||||
if event['type'] == 'm.room.aliases' and event['state_key'] == MATRIX_HOST_BARE:
|
||||
aliases = event['content']['aliases']
|
||||
|
||||
links = db.session.query(db.ChatLink)\
|
||||
|
Loading…
Reference in New Issue
Block a user