diff options
author | Mark Haines <mark.haines@matrix.org> | 2015-11-18 15:31:04 +0000 |
---|---|---|
committer | Mark Haines <mark.haines@matrix.org> | 2015-11-18 15:31:04 +0000 |
commit | 1c960fbb800c00e5787c5c2b90b6b589f90bc474 (patch) | |
tree | db14a460e178e28f1c454927cd7e394fc63bd4a4 /synapse/handlers/message.py | |
parent | Merge pull request #384 from matrix-org/erikj/shorter_retries (diff) | |
download | synapse-1c960fbb800c00e5787c5c2b90b6b589f90bc474.tar.xz |
s/private_user_data/account_data/
Diffstat (limited to 'synapse/handlers/message.py')
-rw-r--r-- | synapse/handlers/message.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/synapse/handlers/message.py b/synapse/handlers/message.py index 14051aee99..2e7d0d7f82 100644 --- a/synapse/handlers/message.py +++ b/synapse/handlers/message.py @@ -436,14 +436,14 @@ class MessageHandler(BaseHandler): for c in current_state.values() ] - private_user_data = [] + account_data = [] tags = tags_by_room.get(event.room_id) if tags: - private_user_data.append({ + account_data.append({ "type": "m.tag", "content": {"tags": tags}, }) - d["private_user_data"] = private_user_data + d["account_data"] = account_data except: logger.exception("Failed to get snapshot") @@ -498,14 +498,14 @@ class MessageHandler(BaseHandler): user_id, room_id, pagin_config, membership, member_event_id, is_guest ) - private_user_data = [] + account_data = [] tags = yield self.store.get_tags_for_room(user_id, room_id) if tags: - private_user_data.append({ + account_data.append({ "type": "m.tag", "content": {"tags": tags}, }) - result["private_user_data"] = private_user_data + result["account_data"] = account_data defer.returnValue(result) |