145
edits
Line 36: | Line 36: | ||
The "most viable" workaround is: | The "most viable" workaround is: | ||
# set a (short, like maybe 15mins, or periodic) timeout after the last stanza received from a MUC | |||
# on timeout: send a ping IQ to your own participant JID | |||
# (maybe) respond to the reflected ping IQ, depending whether you are the "most active" MSN and on the phase of the moon | |||
# if the ping IQ is responded to with iq-result, service-unavailable (official RFC response for a feature not implemented) or feature-not-implemented (incorrect but found in the wild response for feature not implemented): phew, we are still joined, we are done | |||
# if the ping IQ is responded to with anything else: we lost the connection to the MUC | |||
* if the | #* send presence-unavailable | ||
#* rejoin | |||
* | # if the ping IQ times out, one of your clients probably lost the connection to the MUC, just to be sure we need to: | ||
#* send presence-unavailable | |||
#* rejoin | |||
= MUC double join = | = MUC double join = |