I am writing a external component (using it with Prosody right now) that allows users to join MUCs on other servers. When a remote server restarts, I see this is my prosody log:

info    outgoing s2s stream singpolyma.net->chat.yax.im closed: system-shutdown 
(Received SIGTERM)

Now, my component is not running on singpolyma.net (that is a different domain on the same Prosody instance), but either maybe all s2s were incoming at the time since no one had said anything recently?

Anyway, looking at the logs on my component, I don't see any stanza indicating anything about this. I mean, I guess that makes sense. Server restarts don't generate stanzas.

The problem is that when they restart the server, it comes back up with all MUCs empty and I need to get everyone on my component to re-join. But as it the component actually thinks they are still in the MUC!

Other XMPP clients I use seem to (sometimes after awhile) detect this situation somehow and tell me I'm no longer in the room (or try to re-join). How are they doing this? Is this some quirk of the external component protocol where normally Prosody would generate this kind of stanza to a client? Or what else could I be missing? I really need to solve this issue...

Many thanks for any help!

--
Stephen Paul Weber, @singpolyma
See <http://singpolyma.net> for how I prefer to be contacted
edition right joseph

Attachment: signature.asc
Description: Digital signature

_______________________________________________
JDev mailing list
Info: http://mail.jabber.org/mailman/listinfo/jdev
Unsubscribe: [email protected]
_______________________________________________

Reply via email to