Changeset cfbb3a6 for protocols/jabber/jabber.c
- Timestamp:
- 2006-09-24T18:08:07Z (18 years ago)
- Branches:
- master
- Children:
- 8e5e2e9
- Parents:
- e101506
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/jabber/jabber.c
re101506 rcfbb3a6 153 153 154 154 presence_send_update( gc ); 155 } 156 157 static void jabber_add_buddy( struct gaim_connection *gc, char *who ) 158 { 159 if( jabber_add_to_roster( gc, who, NULL ) ) 160 presence_send_request( gc, who, "subscribe" ); 161 } 162 163 static void jabber_remove_buddy( struct gaim_connection *gc, char *who, char *group ) 164 { 165 if( jabber_remove_from_roster( gc, who ) ) 166 presence_send_request( gc, who, "unsubscribe" ); 155 167 } 156 168 … … 175 187 // ret->set_info = jabber_set_info; 176 188 // ret->get_info = jabber_get_info; 177 //ret->add_buddy = jabber_add_buddy;178 //ret->remove_buddy = jabber_remove_buddy;189 ret->add_buddy = jabber_add_buddy; 190 ret->remove_buddy = jabber_remove_buddy; 179 191 // ret->chat_send = jabber_chat_send; 180 192 // ret->chat_invite = jabber_chat_invite;
Note: See TracChangeset
for help on using the changeset viewer.