mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-12-27 05:59:23 -05:00
Reflect user's messages up to themselves before pushing it to federatoin; also release roomlock before touching federation so we don't halt progress on the world
This commit is contained in:
parent
93a8be7bef
commit
53147e5ae4
@ -94,10 +94,10 @@ class MessageHandler(BaseHandler):
|
||||
event.room_id
|
||||
)
|
||||
|
||||
yield self.hs.get_federation().handle_new_event(event)
|
||||
|
||||
self.notifier.on_new_room_event(event, store_id)
|
||||
|
||||
yield self.hs.get_federation().handle_new_event(event)
|
||||
|
||||
@defer.inlineCallbacks
|
||||
def get_messages(self, user_id=None, room_id=None, pagin_config=None,
|
||||
feedback=False):
|
||||
|
Loading…
Reference in New Issue
Block a user