From fc946f3b8da8c7f71a9c25bf542c04472147bc5b Mon Sep 17 00:00:00 2001
From: David Baker <dbkr@matrix.org>
Date: Thu, 29 Jan 2015 21:59:17 +0000
Subject: [PATCH] Include content in notification pokes

---
 synapse/push/httppusher.py | 2 ++
 1 file changed, 2 insertions(+)

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]
-- 
GitLab