Skip to content
Snippets Groups Projects
Commit ed25abe0 authored by Erik Johnston's avatar Erik Johnston
Browse files

Add message to assertion

parent 08d2f902
No related branches found
No related tags found
No related merge requests found
......@@ -78,7 +78,7 @@ class MessageHandler(BaseRoomHandler):
"""
# TODO(paul): Why does 'event' not have a 'user' object?
user = self.hs.parse_userid(event.user_id)
assert(user.is_mine)
assert user.is_mine, "User must be our own: %s" % (user,)
if stamp_event:
event.content["hsob_ts"] = int(self.clock.time_msec())
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment