mirror of
https://mau.dev/maunium/synapse.git
synced 2024-12-14 23:53:51 +01:00
Always LL ourselves if we're in a room to simplify clients (#3916)
Should fix https://github.com/vector-im/riot-web/issues/7209
This commit is contained in:
parent
23b53b4ef8
commit
a2ddaa90f2
2 changed files with 5 additions and 0 deletions
1
changelog.d/3916.feature
Normal file
1
changelog.d/3916.feature
Normal file
|
@ -0,0 +1 @@
|
|||
Always LL ourselves if we're in a room
|
|
@ -713,6 +713,10 @@ class SyncHandler(object):
|
|||
)
|
||||
]
|
||||
|
||||
# always make sure we LL ourselves so we know we're in the room
|
||||
# (if we are), to fix https://github.com/vector-im/riot-web/issues/7209
|
||||
types.append((EventTypes.Member, sync_config.user.to_string()))
|
||||
|
||||
# only apply the filtering to room members
|
||||
filtered_types = [EventTypes.Member]
|
||||
|
||||
|
|
Loading…
Reference in a new issue