Jonathan Schleifer wrote:
Am 18.08.2008 um 22:52 schrieb Peter Saint-Andre:

"If a client receives multiple invitations to the same room (e.g., a mediated invitation as defined in XEP-0045 and a direct invitation as defined here), the client SHOULD present only one of the invitations to a human user. If a client receives an invitation to a room in which the user is already an occupant, the client SHOULD silently discard the invitation."

What if we receive an invitation 5 minutes later? Maybe we clicked no and changed our mind and now want to join the room, thus we ask the inviter to invite us again. It would be discarded then as well. I'd recommend giving any invitation an ID. And if you receive an invitation with an ID you already got, ignore it. That will never give problems then.

XEP-0045 doesn't say anything about this and client developers seem to have handled it just fine. But yes we could say something about timeouts, or add an ID to the invitations, or say that the client should match the inviter (both mediated and direct invitations will make it clear who invites you to the room).

/psa

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to