Ticket #145 (closed enhancement: fixed)
Support XEP-0209 meta-contacts
| Reported by: | melo | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | 1.0 |
| Component: | GUI | Version: | version 0.8 |
| Keywords: | 1.0rc1 | Cc: |
Description (last modified by melo) (diff)
There are at least two problems with the current implementation of meta-contacts in SAPO MSG Mac:
- we update the users roster when we change information of the meta-contacts: this makes it difficult for new users to experiment with our client because we do non-reversible actions on their rosters. Its not polite;
- there is no way to specify the preferred order of JIDs inside a meta-contact.
XEP-0209 solves this problems.
We can use the order attribute to sort the JIDs in order of preference inside a meta-contact. In terms of GUI, this can be accomplished via drag-and-drop inside the Get Info window, in the JID list.
As tag, we can still use the current SHA1(lower_case(name)+lower_case(group)). This way, we can migrate current users to the new system cleanly. Also new users would receive already some meta-contacts if they have the same logic (same person => same name and same group) on all accounts.
The rest of the GUI can keep on using the notion of "prefered JID" of a meta-contacto to decide which avatar, and status to show for the user.