Commit fe492af7 authored by John Red Medrano's avatar John Red Medrano

Merge branch 'red-develop' into 'product-dev'

{dev bugfix} fixing pusher event

See merge request rms/Backend/api-main-service!928
parents 4d4698c4 7a98da94
......@@ -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