summary refs log tree commit diff
path: root/synapse/handlers
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-01-06 15:53:50 +0000
committerErik Johnston <erik@matrix.org>2015-01-06 15:53:50 +0000
commit9e5545a6fac24e15a0493473548a669df85052b1 (patch)
tree1f3527c1c54be81d4730c6e8e66181726e94df0f /synapse/handlers
parentAdd delta and bump DB version (diff)
downloadsynapse-9e5545a6fac24e15a0493473548a669df85052b1.tar.xz
RoomsForUser now has sender instead of user_id
Diffstat (limited to 'synapse/handlers')
-rw-r--r--synapse/handlers/message.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/message.py b/synapse/handlers/message.py
index 24f8c1bc83..7195de98b5 100644
--- a/synapse/handlers/message.py
+++ b/synapse/handlers/message.py
@@ -263,7 +263,7 @@ class MessageHandler(BaseHandler):
             }
 
             if event.membership == Membership.INVITE:
-                d["inviter"] = event.user_id
+                d["inviter"] = event.sender
 
             rooms_ret.append(d)