Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Include content in notification pokes
Browse files Browse the repository at this point in the history
  • Loading branch information
dbkr committed Jan 29, 2015
1 parent 0b16886 commit fc946f3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions synapse/push/httppusher.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,8 @@ def _build_notification_dict(self, event, tweaks):
}
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]
Expand Down

0 comments on commit fc946f3

Please sign in to comment.