Ignore:
Timestamp:
2006-10-07T13:01:02Z (18 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
36e9f62
Parents:
101d84f
Message:

Never mind about those privacy lists, they're horrible and not supported
by any client I know of. Also, they're already working on a (probably
completely incompatible) standard: JEP-191. Maybe BitlBee will implement
it too some day...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/jabber/jabber.c

    r101d84f r090f1cb  
    4242        s = set_add( &acc->set, "priority", "0", set_eval_priority, acc );
    4343       
    44         s = set_add( &acc->set, "privacy_list", NULL, set_eval_privacy_list, acc );
    45        
    4644        s = set_add( &acc->set, "resource", "BitlBee", NULL, acc );
    4745        s->flags |= ACC_SET_OFFLINE_ONLY;
     
    110108        if( jd->tx_len )
    111109                g_free( jd->txq );
    112        
    113         xt_free_node( jd->privacy_list );
    114         g_free( jd->privacy_active );
    115110       
    116111        xt_free_node( jd->node_cache );
     
    227222                c->flags |= XT_SEEN;
    228223        }
    229 }
    230 
    231 static void jabber_add_permit( struct gaim_connection *gc, char *who )
    232 {
    233         struct jabber_data *jd = gc->proto_data;
    234        
    235         if( jd->flags & JFLAG_PRIVACY_BROKEN )
    236         {
    237                 serv_got_crap( gc, "Privacy lists not supported by this server" );
    238                 return;
    239         }
    240 }
    241 
    242 static void jabber_rem_permit( struct gaim_connection *gc, char *who )
    243 {
    244         struct jabber_data *jd = gc->proto_data;
    245        
    246         if( jd->flags & JFLAG_PRIVACY_BROKEN )
    247         {
    248                 serv_got_crap( gc, "Privacy lists not supported by this server" );
    249                 return;
    250         }
    251 }
    252 
    253 /* XMPP doesn't have both a block- and and allow-list, so these two functions
    254    will be no-ops: */
    255 static void jabber_add_deny( struct gaim_connection *gc, char *who )
    256 {
    257 }
    258 
    259 static void jabber_rem_deny( struct gaim_connection *gc, char *who )
    260 {
    261224}
    262225
     
    282245//      ret->chat_open = jabber_chat_open;
    283246        ret->keepalive = jabber_keepalive;
    284         ret->add_permit = jabber_add_permit;
    285         ret->rem_permit = jabber_rem_permit;
    286         ret->add_deny = jabber_add_deny;
    287         ret->rem_deny = jabber_rem_deny;
    288247//      ret->send_typing = jabber_send_typing;
    289248        ret->handle_cmp = g_strcasecmp;
Note: See TracChangeset for help on using the changeset viewer.