Since the Discovery-check whether Saros is supported is untrustworthy your resolution is inadequate.
The instant messenger (client) will send back as a reply (if it is a correctly implemented XMPP Client) the same message it has just being sent. The invitation process should use this information and wait no more than 3-5 seconds for an confirmation of the receipt of the invitation from a...