mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 10:56:06 -04:00
SYN-513: Include updates for rooms that have had all their tags deleted
This commit is contained in:
parent
5335bf9c34
commit
c4135d85e1
2 changed files with 2 additions and 2 deletions
|
@ -272,7 +272,7 @@ class SyncHandler(BaseHandler):
|
|||
def private_user_data_for_room(self, room_id, tags_by_room):
|
||||
private_user_data = []
|
||||
tags = tags_by_room.get(room_id)
|
||||
if tags:
|
||||
if tags is not None:
|
||||
private_user_data.append({
|
||||
"type": "m.tag",
|
||||
"content": {"tags": tags},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue