Skip to content
This repository was archived by the owner on Mar 26, 2024. It is now read-only.

Commit 99d21f8

Browse files
committed
Fix a duplicated code block due to a merge conflict
1 parent 5dccfa3 commit 99d21f8

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

synapse/handlers/message.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1925,11 +1925,6 @@ async def persist_and_notify_client_events(
19251925
# If there's an expiry timestamp on the event, schedule its expiry.
19261926
self._message_handler.maybe_schedule_expiry(event)
19271927

1928-
if event.type == EventTypes.Message:
1929-
# We don't want to block sending messages on any presence code. This
1930-
# matters as sometimes presence code can take a while.
1931-
run_in_background(self._bump_active_time, requester.user)
1932-
19331928
if dont_notify:
19341929
# Skip notifying clients, this is used for Beeper's custom
19351930
# batch sending of non-historical messages.

0 commit comments

Comments
 (0)