forked from MirrorHub/synapse
Include content in notification pokes
This commit is contained in:
parent
0b16886397
commit
fc946f3b8d
1 changed files with 2 additions and 0 deletions
|
@ -87,6 +87,8 @@ class HttpPusher(Pusher):
|
||||||
}
|
}
|
||||||
if event['type'] == 'm.room.member':
|
if event['type'] == 'm.room.member':
|
||||||
d['notification']['membership'] = event['content']['membership']
|
d['notification']['membership'] = event['content']['membership']
|
||||||
|
if 'content' in event:
|
||||||
|
d['notification']['content'] = event['content']
|
||||||
|
|
||||||
if len(ctx['aliases']):
|
if len(ctx['aliases']):
|
||||||
d['notification']['room_alias'] = ctx['aliases'][0]
|
d['notification']['room_alias'] = ctx['aliases'][0]
|
||||||
|
|
Loading…
Reference in a new issue