Include content in notification pokes

This commit is contained in:
David Baker 2015-01-29 21:59:17 +00:00
parent 0b16886397
commit fc946f3b8d

View File

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