mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-12-26 09:29:25 -05:00
Include content in notification pokes
This commit is contained in:
parent
0b16886397
commit
fc946f3b8d
@ -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]
|
||||
|
Loading…
Reference in New Issue
Block a user