Changeset 349ee4a
- Timestamp:
- 2007-10-06T20:53:32Z (17 years ago)
- Branches:
- master
- Children:
- 2a0f99c
- Parents:
- 79e20f9
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
skype/skype.c
r79e20f9 r349ee4a 417 417 info += 14; 418 418 struct groupchat *gc = skype_chat_by_name(ic, id); 419 if(!gc) 420 gc = imcb_chat_new( ic, id ); 421 char **members = g_strsplit(info, " ", 0); 422 int i; 423 for(i=0;members[i];i++) 419 if(gc) 424 420 { 425 if(!strcmp(members[i], sd->username)) 426 continue; 427 g_snprintf(buf, 1024, "%s@skype.com", members[i]); 428 imcb_chat_add_buddy(gc, buf); 421 char **members = g_strsplit(info, " ", 0); 422 int i; 423 for(i=0;members[i];i++) 424 { 425 if(!strcmp(members[i], sd->username)) 426 continue; 427 g_snprintf(buf, 1024, "%s@skype.com", members[i]); 428 imcb_chat_add_buddy(gc, buf); 429 } 430 imcb_chat_add_buddy(gc, sd->username); 431 g_strfreev(members); 429 432 } 430 imcb_chat_add_buddy(gc, sd->username);431 g_strfreev(members);432 433 } 433 434 }
Note: See TracChangeset
for help on using the changeset viewer.