#1380 Prosody does not send presence when unblocking (XEP-0191)
Reporter
lovetox
Owner
Zash
Created
Updated
Stars
★ (1)
Tags
Status-Fixed
Priority-Medium
Milestone-0.11
Compliance
Type-Defect
lovetox
on
Please provide a snippet of the part of the specification which we violate
if possible:
When the user unblocks communications with a JID, the user's server MUST send the user's current presence information to the JID (but only if the JID is allowed to receive presence notifications from the user in accordance with the rules defined in RFC 3921).
Please provide a link to the specification:
https://xmpp.org/extensions/xep-0191.html#unblock
An edge case to this that is not handled:
Blocking a bare host JID.
Unavailable presence is only sent in case the exact JID being blocked is in the users roster.
Please provide a snippet of the part of the specification which we violate if possible: When the user unblocks communications with a JID, the user's server MUST send the user's current presence information to the JID (but only if the JID is allowed to receive presence notifications from the user in accordance with the rules defined in RFC 3921). Please provide a link to the specification: https://xmpp.org/extensions/xep-0191.html#unblock
Thanks for the report! Working on a fix.
ChangesFixed in https://hg.prosody.im/trunk/rev/0c35f353db68
ChangesAn edge case to this that is not handled: Blocking a bare host JID. Unavailable presence is only sent in case the exact JID being blocked is in the users roster.