Commit 7a98da94 authored by John Red Medrano's avatar John Red Medrano

{dev bugfix} fixing pusher event

parent 4d4698c4
...@@ -235,18 +235,19 @@ def notification_create(form_code, message, account_no, ...@@ -235,18 +235,19 @@ def notification_create(form_code, message, account_no,
ROOM = account_no ROOM = account_no
# SENDER = sender_account_no # SENDER = sender_account_no
if ssl != 1: if ssl == 1:
send_broadcast_message(
ROOM,
SENDER,
'NEW NOTIFICATIONS'
)
else:
rms_websocket( rms_websocket(
ROOM, ROOM,
cms_notification, cms_notification,
{'message': 'NEW NOTIFICATIONS'} {'message': 'NEW NOTIFICATIONS'}
) )
else:
send_broadcast_message(
ROOM,
SENDER,
'NEW NOTIFICATIONS'
)
return True return True
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment