#678 Messages to unavailable full JIDs of type "normal" are rerouted
Reporter
Holger Weiß
Owner
MattJ
Created
Updated
Stars
★ (1)
Tags
Compliance
Status-New
Type-Defect
Priority-Medium
Holger Weiß
on
Please provide a snippet of the part of the specification which we violate
if possible:
For messages of type "normal" sent to a full JID that's unavailable, RFC 6121 (#8.5.3.2.1) says: "the server MUST either (a) silently ignore the stanza or (b) return an error stanza to the sender, which SHOULD be <service-unavailable/>."
Following this rule would have the advantage that things like MAM responses wouldn't be rerouted to the wrong resource if a client goes offline after issuing the MAM request. The downside is that some clients probably expect to the server to handle "normal" messages like "chat" messages. E.g., Gajim sends "normal" messages to full JIDs that are offline under certain circumstances.
Please provide a link to the specification:
https://tools.ietf.org/html/rfc6121#section-8.5.3.2
MattJ
on
Hey, thanks for the report. Sorry for the delay in reviewing it. Do you happen to recall what the cases are where Gajim would send type=normal to a full JID?
Changes
owner MattJ
Holger Weiß
on
I think Gajim does that (sometimes?) if you mark multiple contacts in the roster and then right-click -> "Send Group Message".
Please provide a snippet of the part of the specification which we violate if possible: For messages of type "normal" sent to a full JID that's unavailable, RFC 6121 (#8.5.3.2.1) says: "the server MUST either (a) silently ignore the stanza or (b) return an error stanza to the sender, which SHOULD be <service-unavailable/>." Following this rule would have the advantage that things like MAM responses wouldn't be rerouted to the wrong resource if a client goes offline after issuing the MAM request. The downside is that some clients probably expect to the server to handle "normal" messages like "chat" messages. E.g., Gajim sends "normal" messages to full JIDs that are offline under certain circumstances. Please provide a link to the specification: https://tools.ietf.org/html/rfc6121#section-8.5.3.2
Hey, thanks for the report. Sorry for the delay in reviewing it. Do you happen to recall what the cases are where Gajim would send type=normal to a full JID?
ChangesI think Gajim does that (sometimes?) if you mark multiple contacts in the roster and then right-click -> "Send Group Message".