Describe the bug In IBR removal, XEP-0077 states:
If the entity cancels its registration with its "home" server (i.e., the server at which it has maintained its XMPP account), then the entity SHOULD NOT include a 'from' or 'to' address in the remove request
However tigase-swift defaults to using the client's full JID: https://github.com/tigase/tigase-swift/blob/34f4d5a1bf6451aee53dc972c3a604c2026acddc/Sources/TigaseSwift/modules/InBandRegistrationModule.swift#L187
This causes the stanza to be routed back to the client itself, which then responds with an error. Account removal fails.
Expected behavior Send the stanza with no 'to' JID per XEP-0077.
P.S. It would be great if this fix could be backported to the stable branch :)
The issue was fixed. For stable version, please use branch stable or tagged commit 2.1.3.
stable
2.1.3
Describe the bug In IBR removal, XEP-0077 states:
However tigase-swift defaults to using the client's full JID: https://github.com/tigase/tigase-swift/blob/34f4d5a1bf6451aee53dc972c3a604c2026acddc/Sources/TigaseSwift/modules/InBandRegistrationModule.swift#L187
This causes the stanza to be routed back to the client itself, which then responds with an error. Account removal fails.
Expected behavior Send the stanza with no 'to' JID per XEP-0077.