- Timestamp:
- 2008-01-10T16:10:10Z (17 years ago)
- Branches:
- master
- Children:
- 6172871
- Parents:
- 6abf3ec
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
skype/skype.c
r6abf3ec r54e6207 525 525 { 526 526 char *body = g_list_nth_data(sd->body, i); 527 if(!strcmp(sd->type, "SAID") )527 if(!strcmp(sd->type, "SAID") || !strcmp(sd->type, "EMOTED")) 528 528 { 529 char *st; 530 if(!strcmp(sd->type, "SAID")) 531 st = g_strdup(body); 532 else 533 { 534 st = g_strdup_printf("/me %s", body); 535 } 529 536 if(!gc) 530 537 /* Private message */ 531 imcb_buddy_msg(ic, sd->handle, body, 0, 0);538 imcb_buddy_msg(ic, sd->handle, st, 0, 0); 532 539 else 533 540 /* Groupchat message */ 534 imcb_chat_msg(gc, sd->handle, body, 0, 0); 541 imcb_chat_msg(gc, sd->handle, st, 0, 0); 542 g_free(st); 535 543 } 536 544 else if(!strcmp(sd->type, "SETTOPIC"))
Note: See TracChangeset
for help on using the changeset viewer.