Hello, I noticed that my XMPP client's factory is automatically restarted following a period of inactivity (maybe because it uses a ReconnectingClientFactory?).
o Say that my client sends an "unavailable" presence message and then goes idle. An automatic restart of the factory will do an authentication again which sets the client as available. This is undesirable. o Say that my client sends an "available" presence message, for instance once it's been authenticated, and then goes idle. An automatic restart of the factory will do an authentication again which sets the client as available, again and again. I get around these problems by sending presence "ping" messages periodically to the server (the ping can be in either available or unavailable states). But I wonder, is this the right way to do it? Are all twisted-based XMPP clients pinging all the time? Any other options? Thanks, -- Pedro _______________________________________________ Twisted-Jabber mailing list [email protected] https://mailman.ik.nu/mailman/listinfo/twisted-jabber
