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,
ROOM = account_no
# SENDER = sender_account_no
if ssl != 1:
send_broadcast_message(
ROOM,
SENDER,
'NEW NOTIFICATIONS'
)
else:
if ssl == 1:
rms_websocket(
ROOM,
cms_notification,
{'message': 'NEW NOTIFICATIONS'}
)
else:
send_broadcast_message(
ROOM,
SENDER,
'NEW NOTIFICATIONS'
)
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