Changes in / [1849c5b:ef70f9f]


Ignore:
Location:
protocols/jabber
Files:
1 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • protocols/jabber/Makefile

    r1849c5b ref70f9f  
    1313
    1414# [SH] Program variables
    15 objects = conference.o io.o iq.o jabber.o jabber_util.o message.o presence.o s5bytestream.o sasl.o si.o hipchat.o block.o
     15objects = conference.o io.o iq.o jabber.o jabber_util.o message.o presence.o s5bytestream.o sasl.o si.o hipchat.o
    1616
    1717LFLAGS += -r
  • protocols/jabber/iq.c

    r1849c5b ref70f9f  
    388388        struct xt_node *response;
    389389        struct jabber_data *jd = ic->proto_data;
    390 
     390       
    391391        response = jabber_make_packet("iq", "result", jd->me, NULL);
    392392
     
    10071007{
    10081008        struct jabber_data *jd = ic->proto_data;
    1009         struct xt_node *query, *id, *c;
    1010         char *feature;
     1009        struct xt_node *query, *id;
    10111010
    10121011        if (!(query = xt_find_node(node->children, "query"))) {
    10131012                return XT_HANDLED;
    1014         }
    1015 
    1016         c = query->children;
    1017 
    1018         while ((c = xt_find_node(c, "feature"))) {
    1019                 feature = xt_find_attr(c, "var");
    1020                 if (feature) {
    1021                         jd->features = g_slist_append(jd->features, g_strdup(feature));
    1022                 }
    1023                 c = c->next;
    10241013        }
    10251014
     
    10511040                }
    10521041        }
    1053 
    1054         jabber_block_feature(ic);
    10551042
    10561043        return XT_HANDLED;
  • protocols/jabber/jabber.h

    r1849c5b ref70f9f  
    109109        GHashTable *buddies;
    110110
    111         GSList *features;
    112111        GSList *filetransfers;
    113112        GSList *streamhosts;
     
    245244#define XMLNS_BYTESTREAMS  "http://jabber.org/protocol/bytestreams"              /* XEP-0065 */
    246245#define XMLNS_IBB          "http://jabber.org/protocol/ibb"                      /* XEP-0047 */
    247 #define XMLNS_BLOCK        "urn:xmpp:blocking"                                   /* XEP-0191 */
    248246
    249247/* Hipchat protocol extensions*/
     
    285283int presence_send_update(struct im_connection *ic);
    286284int presence_send_request(struct im_connection *ic, char *handle, char *request);
    287 
    288 /* block.c */
    289 void jabber_buddy_block(struct im_connection *ic, char *who);
    290 void jabber_buddy_unblock(struct im_connection *ic, char *who);
    291 void jabber_buddy_permit(struct im_connection *ic, char *who);
    292 void jabber_buddy_unpermit(struct im_connection *ic, char *who);
    293 int jabber_block_feature(struct im_connection *ic);
    294285
    295286/* jabber_util.c */
Note: See TracChangeset for help on using the changeset viewer.