|
@@ -163,6 +163,10 @@ class PushObject:
|
|
|
'received_at': n_time, 'event_time': n_time, 'event_type': event_type, 'nickname': nickname,
|
|
|
'uid': uid, 'channel': channel
|
|
|
}
|
|
|
+ if event_type in [606, 607]:
|
|
|
+ push_data['priority'] = 'high'
|
|
|
+ push_data['content_available'] = True
|
|
|
+ push_data['direct_boot_ok'] = True
|
|
|
result = push_service.notify_single_device(registration_id=token_val, message_title=msg_title,
|
|
|
message_body=msg_text, data_message=push_data,
|
|
|
click_action='android.intent.action.VIEW',
|