Ignore:
Timestamp:
2015-02-21T06:10:54Z (9 years ago)
Author:
dequis <dx@…>
Children:
75ad761
Parents:
5ebff60
git-author:
dequis <dx@…> (19-07-14 04:51:58)
git-committer:
dequis <dx@…> (21-02-15 06:10:54)
Message:

Add the concept of jabber sub-protocols

Currently including: jabber (none), gtalk, facebook, hipchat.

They provide a default server field and an oauth service definition.

Also the "account tag guesses" become subprotocol guesses

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/account.c

    r5ebff60 r7733b8c  
    8383                } else {
    8484                        strcpy(tag, "aim");
    85                 }
    86         } else if (strcmp(prpl->name, "jabber") == 0) {
    87                 if (strstr(a->user, "@gmail.com") ||
    88                     strstr(a->user, "@googlemail.com")) {
    89                         strcpy(tag, "gtalk");
    90                 } else if (strstr(a->user, "@chat.facebook.com")) {
    91                         strcpy(tag, "fb");
    9285                }
    9386        }
Note: See TracChangeset for help on using the changeset viewer.