summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorDavid Baker <dbkr@matrix.org>2015-01-29 21:59:17 +0000
committerDavid Baker <dbkr@matrix.org>2015-01-29 21:59:17 +0000
commitfc946f3b8da8c7f71a9c25bf542c04472147bc5b (patch)
tree6e8a4417425efe9bf269edf683e2ddaf20006ba6 /synapse
parentChange 'from' in notification pokes to 'sender' to match client API v2. Send ... (diff)
downloadsynapse-fc946f3b8da8c7f71a9c25bf542c04472147bc5b.tar.xz
Include content in notification pokes
Diffstat (limited to '')
-rw-r--r--synapse/push/httppusher.py2
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]