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

paul/schema_breaking_changes
Paul "LeoNerd" Evans 2014-08-14 16:22:08 +01:00
parent 93a8be7bef
commit 53147e5ae4
1 changed files with 2 additions and 2 deletions

View File

@ -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):