Ignore:
Timestamp:
2006-09-24T19:25:06Z (16 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
4ecdc69
Parents:
cfbb3a6
Message:

Handling of incoming authorization requests, manual block/allow. (Doesn't
seem to be completely like how it works on other IM networks.)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/jabber/jabber.c

    rcfbb3a6 r8e5e2e9  
    171171        /* Just any whitespace character is enough as a keepalive for XMPP sessions. */
    172172        jabber_write( gc, "\n", 1 );
     173}
     174
     175static void jabber_add_permit( struct gaim_connection *gc, char *who )
     176{
     177        presence_send_request( gc, who, "subscribed" );
     178}
     179
     180static void jabber_rem_permit( struct gaim_connection *gc, char *who )
     181{
     182        presence_send_request( gc, who, "unsubscribed" );
     183}
     184
     185static void jabber_add_deny( struct gaim_connection *gc, char *who )
     186{
     187}
     188
     189static void jabber_rem_deny( struct gaim_connection *gc, char *who )
     190{
    173191}
    174192
     
    194212//      ret->chat_open = jabber_chat_open;
    195213        ret->keepalive = jabber_keepalive;
    196 //      ret->add_permit = jabber_add_permit;
    197 //      ret->rem_permit = jabber_rem_permit;
    198 //      ret->add_deny = jabber_add_deny;
    199 //      ret->rem_deny = jabber_rem_deny;
     214        ret->add_permit = jabber_add_permit;
     215        ret->rem_permit = jabber_rem_permit;
     216        ret->add_deny = jabber_add_deny;
     217        ret->rem_deny = jabber_rem_deny;
    200218//      ret->send_typing = jabber_send_typing;
    201219        ret->handle_cmp = g_strcasecmp;
Note: See TracChangeset for help on using the changeset viewer.