fix: harden group lifecycle and registration writes
This commit is contained in:
+1
-1
@@ -1602,7 +1602,7 @@ func (s *Session) note(msg *ClientComMessage) {
|
||||
s.queueOut(ErrServiceUnavailableReply(msg, msg.Timestamp))
|
||||
logs.Err.Println("s.note: sub.broacast channel full, topic ", msg.RcptTo, s.sid)
|
||||
}
|
||||
} else if msg.Note.What == "recv" || (msg.Note.What == "call" && (msg.Note.Event == "ringing" || msg.Note.Event == "hang-up" || msg.Note.Event == "accept")) {
|
||||
} else if msg.Note.What == "recv" || (msg.Note.What == "call" && isDetachedCallEvent(msg.Note.Event)) {
|
||||
// One of the following events happened:
|
||||
// 1. Client received a pres notification about a new message, initiated a fetch
|
||||
// from the server (and detached from the topic) and acknowledges receipt.
|
||||
|
||||
Reference in New Issue
Block a user