xmppStreamDidAuthenticate" this delegate keeps getting called over and over again after few seconds, i am not sure what is problem can someone guide ?
public func xmppStreamDidAuthenticate(_ sender: XMPPStream) {
let multicastDelegate = sender.value(forKey: "multicastDelegate") as! GCDMulticastDelegate
debugPrint("# of delegates \(multicastDelegate.count)")
debugPrint(sender.debugDescription)
}
"# of delegates 5"
i get this as a result of count, is it suppose to be just 1 ?
Number of delegates added by me are
1 stream itself
2 reconnect
3 auto ping
4 last activity