Changeset ec159f1
- Timestamp:
- 2007-10-07T01:06:22Z (17 years ago)
- Branches:
- master
- Children:
- 86f2683
- Parents:
- c09d327
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
skype/skype.c
rc09d327 rec159f1 436 436 gc = imcb_chat_new( ic, id ); 437 437 } 438 else if(!strcmp(info, "STATUS UNSUBSCRIBED")) 439 { 440 struct groupchat *gc = skype_chat_by_name(ic, id); 441 if(gc) 442 gc->data = (void*)FALSE; 443 } 438 444 else if(!strncmp(info, "ACTIVEMEMBERS ", 14)) 439 445 { 440 446 info += 14; 441 447 struct groupchat *gc = skype_chat_by_name(ic, id); 442 if(gc) 448 /* Hack! We set ->data to TRUE 449 * while we're on the channel 450 * so that we won't rejoin 451 * after a /part. */ 452 if(gc && !gc->data) 443 453 { 444 454 char **members = g_strsplit(info, " ", 0); … … 454 464 imcb_chat_add_buddy(gc, sd->username); 455 465 g_strfreev(members); 466 gc->data = (void*)TRUE; 456 467 } 457 468 }
Note: See TracChangeset
for help on using the changeset viewer.