mirror of
https://github.com/element-hq/synapse.git
synced 2026-10-27 10:15:00 +00:00
Include content in notification pokes
This commit is contained in:
1 parent
0b16886397
commit
fc946f3b8d
1 file changed
+2
@@ -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]
|
||||
|
||||
Reference in new issue
Block a user