|
|
@ -31,7 +31,7 @@ def send_notification(notification):
|
|
|
|
title=notification_data['title'],
|
|
|
|
title=notification_data['title'],
|
|
|
|
body=notification_data['body'],
|
|
|
|
body=notification_data['body'],
|
|
|
|
sound=android_sound,
|
|
|
|
sound=android_sound,
|
|
|
|
android_channel_id=android_channel_id
|
|
|
|
channel_id=android_channel_id
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
@ -97,7 +97,6 @@ def send_notification(notification):
|
|
|
|
apns=error_apns_config
|
|
|
|
apns=error_apns_config
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
# Create your models here.
|
|
|
|
# Create your models here.
|
|
|
|
|
|
|
|
|
|
|
|
class ChatNotification(models.Model):
|
|
|
|
class ChatNotification(models.Model):
|
|
|
|