This commit is contained in:
parent
eee5b14b54
commit
17557acf18
|
@ -34,7 +34,6 @@ type Notification struct {
|
||||||
|
|
||||||
// event2Notification processes user event by converting the specified event to a notification, and then push it to front
|
// event2Notification processes user event by converting the specified event to a notification, and then push it to front
|
||||||
// browser with notification channel.
|
// browser with notification channel.
|
||||||
//
|
|
||||||
func event2Notification(e *event.Event) {
|
func event2Notification(e *event.Event) {
|
||||||
if nil == session.NotificationWS[e.Sid] {
|
if nil == session.NotificationWS[e.Sid] {
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in New Issue