Feature #145
Support libpurple's contacts
| Status: | New | Start: | 2009-09-06 | |
|---|---|---|---|---|
| Priority: | Low | Due date: | ||
| Assigned to: | - | % Done: | 0% |
|
| Category: | Buddies | Spent time: | - | |
| Target version: | 1.1 | Estimated time: | 10.00 hours |
Description
libpurple provides a feature that regroups some buddies into a same “contact”. When user tries to chat with a contact, libpurple sends message to the last buddy who chatted with you. If he is not online, it chooses an other buddy. You can also force a specific buddy.
A probably good UI to force a buddy is:
/msg foo:jabber0
I have no idea of command to use to regroup buddies into a contact. Probably a mode or something like?
/mode contact +b buddy_nickname
History
Updated by Romain Bignon 6 months ago
ion hints me some ideas:
Firstly, use the svsnick command to associate or dissociate a buddy from a contact. For example:
/svsnick buddy contact /svsnick contact:jabber1 buddy
In the case there are two buddies from the same network associated to an account, an other ID can be added after the network name. I quote:
The id after :jabber0 could be simply foo@bar in jabber, 1234567 in icq etc. If the nick foo maps to foo:jabber0-foo@example.net, foo:jabber0-bar@example.net and foo:icq0-1234567, how about matching foo:<anything> to each contact that begins with the given string and accepting the match if there is a single result, or listing the matches and requesting more a specific string if there are multiple results? E.g. foo:i, foo:icq, foo:icq0, foo:icq0-1234, foo:icq0-1234567 would all match to the single icq contact. foo:ja, foo:jabber0, ... ... foo:jabber0- would request a more specific pattern. Both foo:jabber0-f and foo:jabber0-bar@ would match a single contact.