Ignore:
Timestamp:
2006-09-24T19:25:06Z (15 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/presence.c

    rcfbb3a6 r8e5e2e9  
    4242        else if( strcmp( type, "unavailable" ) == 0 )
    4343                serv_got_update( gc, from, 0, 0, 0, 0, 0, 0 );
     44        else if( strcmp( type, "subscribe" ) == 0 )
     45                jabber_buddy_ask( gc, from );
     46        else if( strcmp( type, "subscribed" ) == 0 )
     47                serv_got_crap( gc, "%s just accepted your authorization request", from );
     48        else if( strcmp( type, "unsubscribe" ) == 0 || strcmp( type, "unsubscribed" ) == 0 )
     49        {
     50                /* Do nothing here. Plenty of control freaks or over-curious
     51                   souls get excited when they can see who still has them in
     52                   their buddy list and who finally removed them. Somehow I
     53                   got the impression that those are the people who get
     54                   removed from many buddy lists for "some" reason...
     55                   
     56                   If you're one of those people, this is your chance to write
     57                   your first line of code in C... */
     58        }
    4459        else
    4560        {
Note: See TracChangeset for help on using the changeset viewer.