Summary | ResourceConstraint registration error |
Queue | gloox |
Queue Version | 1.0.18 |
Type | Bug |
State | Resolved |
Priority | 2. Medium |
Owners | js (at) camaya (dot) net |
Requester | elexis1987 (at) gmx (dot) de |
Created | 01/29/2017 (2505 days ago) |
Due | |
Updated | 02/23/2017 (2480 days ago) |
Assigned | 01/29/2017 (2505 days ago) |
Resolved | 02/21/2017 (2482 days ago) |
State ⇒ Resolved
Assigned to Jakob Schröter
State ⇒ Unconfirmed
New Attachment: gloox_registration_constrained.patch
Queue ⇒ gloox
Summary ⇒ ResourceConstraint registration error
Type ⇒ Bug
Priority ⇒ 2. Medium
and responds with a resource-constraint error stanza (as defined by
XEP-0086).
However gloox doesn't catch this specific registration error and
returns RegistrationUnknownError.
The attached patch adds a new RegistrationConstrained type, so that
the gloox user can display a proper error message.
This is in particular needed for the multiplayer lobby of the free
realtime strategy game 0 A.D, as players often want to register a
second account for their friend with the same IP address and wonder
why that doesn't work, see http://trac.wildfiregames.com/ticket/3771
Thanks for taking care!