mirror of
https://github.com/element-hq/synapse.git
synced 2026-10-22 19:44:06 +00:00
Merge pull request #515 from matrix-org/erikj/syn-606
SYN-606: Peeking does not wake up /events
This commit is contained in:
commit
ed1d189e10
1 file changed
+3
-1
+3
-1
@@ -403,7 +403,9 @@ class Notifier(object):
|
||||
# over /events.
|
||||
#
|
||||
# I am sorry for what I have done.
|
||||
user_id_for_stream = "_PEEKING_" + user_id_for_stream
|
||||
user_id_for_stream = "_PEEKING_%s_%s" % (
|
||||
explicit_room_id, user_id_for_stream
|
||||
)
|
||||
|
||||
result = yield self.wait_for_events(
|
||||
user_id_for_stream,
|
||||
|
||||
Reference in new issue
Block a user