Ignore:
Timestamp:
2015-04-28T13:47:48Z (9 years ago)
Author:
dequis <dx@…>
Branches:
master
Children:
70ec7ab, 9ed8175
Parents:
1493c4b
git-author:
dequis <dx@…> (21-02-15 06:18:21)
git-committer:
dequis <dx@…> (28-04-15 13:47:48)
Message:

hipchat: Basic implementation: Auth, profile and mention names

This is enough to log in with their usernames, make 'chat add' based
groupchat joins slightly more smooth, and see mention names as nicks.

All the MUC list stuff is left out intentionally since that's not as
stable as I wish.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/jabber/jabber.h

    r1493c4b r40cfbc5  
    236236#define XMLNS_IBB          "http://jabber.org/protocol/ibb"                      /* XEP-0047 */
    237237
     238/* Hipchat protocol extensions*/
     239#define XMLNS_HIPCHAT         "http://hipchat.com"
     240#define XMLNS_HIPCHAT_PROFILE "http://hipchat.com/protocol/profile"
     241
    238242/* jabber.c */
    239243void jabber_connect(struct im_connection *ic);
     
    250254xt_status jabber_iq_query_server(struct im_connection *ic, char *jid, char *xmlns);
    251255void jabber_iq_version_send(struct im_connection *ic, struct jabber_buddy *bud, void *data);
     256int jabber_iq_disco_server(struct im_connection *ic);
    252257
    253258/* si.c */
     
    342347void jabber_chat_invite(struct groupchat *c, char *who, char *message);
    343348
     349/* hipchat.c */
     350int jabber_get_hipchat_profile(struct im_connection *ic);
     351xt_status jabber_parse_hipchat_profile(struct im_connection *ic, struct xt_node *node, struct xt_node *orig);
     352xt_status hipchat_handle_success(struct im_connection *ic, struct xt_node *node);
     353
    344354#endif
Note: See TracChangeset for help on using the changeset viewer.