From 78cc026a37bb85602076f450f93338f4f06072c7 Mon Sep 17 00:00:00 2001 From: Matthew Hodgson Date: Wed, 22 Aug 2018 11:53:48 +0200 Subject: [PATCH 1/2] always LL ourselves if we're in a room, otherwise it looks like we're not. Should fix https://github.com/vector-im/riot-web/issues/7209 --- synapse/handlers/sync.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/synapse/handlers/sync.py b/synapse/handlers/sync.py index 648debc8aa96..e41c1eef6b27 100644 --- a/synapse/handlers/sync.py +++ b/synapse/handlers/sync.py @@ -683,6 +683,10 @@ def compute_state_delta(self, room_id, batch, sync_config, since_token, now_toke ) ] + # 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] From 56a40a48ec3e30ae80232484e6862e98d2ae5a9c Mon Sep 17 00:00:00 2001 From: Matthew Hodgson Date: Wed, 19 Sep 2018 16:21:15 +0100 Subject: [PATCH 2/2] changelog --- changelog.d/3916.feature | 1 + 1 file changed, 1 insertion(+) create mode 100644 changelog.d/3916.feature diff --git a/changelog.d/3916.feature b/changelog.d/3916.feature new file mode 100644 index 000000000000..13282d992b9a --- /dev/null +++ b/changelog.d/3916.feature @@ -0,0 +1 @@ +Always LL ourselves if we're in a room