Changeset 9c84617 for protocols/msn/msn.c
- Timestamp:
- 2010-12-13T00:42:58Z (13 years ago)
- Branches:
- master
- Children:
- c5920df
- Parents:
- 8eec79d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/msn/msn.c
r8eec79d r9c84617 352 352 353 353 g_tree_remove( md->domaintree, bu->handle ); 354 } 355 356 GList *msn_buddy_action_list( bee_user_t *bu ) 357 { 358 static GList *ret = NULL; 359 360 if( ret == NULL ) 361 { 362 static const struct buddy_action ba[2] = { 363 { "NUDGE", "Draw attention" }, 364 }; 365 366 ret = g_list_prepend( ret, (void*) ba + 0 ); 367 } 368 369 return ret; 370 } 371 372 void *msn_buddy_action( struct bee_user *bu, const char *action, char * const args[], void *data ) 373 { 374 if( g_strcasecmp( action, "NUDGE" ) == 0 ) 375 msn_buddy_msg( bu->ic, bu->handle, NUDGE_MESSAGE, 0 ); 376 377 return NULL; 354 378 } 355 379 … … 382 406 ret->buddy_data_add = msn_buddy_data_add; 383 407 ret->buddy_data_free = msn_buddy_data_free; 408 ret->buddy_action_list = msn_buddy_action_list; 409 ret->buddy_action = msn_buddy_action; 384 410 385 411 //ret->transfer_request = msn_ftp_transfer_request;
Note: See TracChangeset
for help on using the changeset viewer.