Compare commits
No commits in common. "5c10096a5f6fd4ad16a8946151169d7d3a9e9db9" and "059de2914d9b2ff498c3deb39ee2da5017adf76b" have entirely different histories.
5c10096a5f
...
059de2914d
1 changed files with 1 additions and 4 deletions
|
|
@ -75,9 +75,7 @@ def get_notifications_client():
|
|||
return client
|
||||
|
||||
|
||||
def notifications_push_user(user_uuid, title, message, priority=5, extras=None, click_url=None):
|
||||
# click_url is optional — most notifications aren't clickable. When set,
|
||||
# the notifications service embeds it as the tap destination.
|
||||
def notifications_push_user(user_uuid, title, message, priority=5, extras=None):
|
||||
class Tmp():
|
||||
def to_dict(self):
|
||||
return {
|
||||
|
|
@ -85,7 +83,6 @@ def notifications_push_user(user_uuid, title, message, priority=5, extras=None,
|
|||
'message': message,
|
||||
'priority': priority,
|
||||
'extras': extras,
|
||||
'click_url': click_url,
|
||||
}
|
||||
|
||||
push_data = Tmp()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue