diff options
author | David Baker <dbkr@matrix.org> | 2015-01-29 21:59:17 +0000 |
---|---|---|
committer | David Baker <dbkr@matrix.org> | 2015-01-29 21:59:17 +0000 |
commit | fc946f3b8da8c7f71a9c25bf542c04472147bc5b (patch) | |
tree | 6e8a4417425efe9bf269edf683e2ddaf20006ba6 /synapse | |
parent | Change 'from' in notification pokes to 'sender' to match client API v2. Send ... (diff) | |
download | synapse-fc946f3b8da8c7f71a9c25bf542c04472147bc5b.tar.xz |
Include content in notification pokes
Diffstat (limited to '')
-rw-r--r-- | synapse/push/httppusher.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/synapse/push/httppusher.py b/synapse/push/httppusher.py index ac7c3148d7..d4c5f03b01 100644 --- a/synapse/push/httppusher.py +++ b/synapse/push/httppusher.py @@ -87,6 +87,8 @@ class HttpPusher(Pusher): } if event['type'] == 'm.room.member': d['notification']['membership'] = event['content']['membership'] + if 'content' in event: + d['notification']['content'] = event['content'] if len(ctx['aliases']): d['notification']['room_alias'] = ctx['aliases'][0] |