Re: R: How do I know when a MUC server restarts?
Marco Cirillo <[email protected]> Thu, 3 Mar 2016 17:30:22 +0100
| Newsgroups | gmane.network.jabber.devel |
|---|---|
| Message-ID | <[email protected]> |
Il 03/03/2016 15:24, Stephen Paul Weber ha scritto: > Somebody claiming to be Marco Cirillo wrote: >> Usually when a MUC component shutsdown it should broadcast unavailable >> presence to muc occupants containing status code 332, and afair >> Prosody implementation should do that. > > I log every stanza I receive, and I see no PresenceUnavailable stanzas > at the time, and no 332 codes ever. > > Maybe the whole server was restarted (OS and all) and there wasn't > time to get all such messages out? and yet my clients in the same MUC > figured it out Sorry mistakingly didn't reply to the list, And yes that's indeedly a possibility the server/component process may exit before all stanzas are routed to remote entities. Although otherwise that's a way to figure a muc component is shutting down ( see: http://xmpp.org/extensions/xep-0045.html#registrar-statuscodes ). _______________________________________________ JDev mailing list Info: http://mail.jabber.org/mailman/listinfo/jdev Unsubscribe: [email protected] _______________________________________________