- Timestamp:
- 2010-04-13T23:58:36Z (15 years ago)
- Branches:
- master
- Children:
- 7666c87
- Parents:
- 304aa33
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
skype/skype.c
r304aa33 r4c674bb 326 326 g_free(buf); 327 327 } 328 } else if (!strncmp(ptr, "MOOD_TEXT ", 10) && set_getbool(&ic->acc->set, "show_moods")) 329 imcb_log(ic, "User `%s' changed mood text to `%s'", user, ptr + 10); 328 } else if (!strncmp(ptr, "MOOD_TEXT ", 10) && set_getbool(&ic->acc->set, "show_moods")) { 329 char *buf = g_strdup_printf("%s@skype.com", user); 330 user_t *u = user_findhandle(ic, buf); 331 g_free(buf); 332 buf = ptr + 10; 333 if (u) { 334 if (u->status_msg) 335 g_free(u->status_msg); 336 if (strlen(buf)) 337 u->status_msg = g_strdup(buf); 338 else 339 u->status_msg = NULL; 340 } 341 imcb_log(ic, "User `%s' changed mood text to `%s'", user, buf); 342 } 330 343 else if (!strncmp(ptr, "FULLNAME ", 9)) 331 344 sd->info_fullname = g_strdup(ptr + 9);
Note: See TracChangeset
for help on using the changeset viewer.