Changeset 5acf9ab
- Timestamp:
- 2008-12-21T20:00:30Z (16 years ago)
- Branches:
- master
- Children:
- a2ed574
- Parents:
- 08a355b
- Location:
- skype
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
skype/README
r08a355b r5acf9ab 351 351 channel. 352 352 353 - If you want to automatically join bookmarked groupchats right after 354 you logged in, do: 355 356 * `account set skype/auto_join true` 357 353 358 == What needs to be done (aka. TODO) 354 359 -
skype/skype.c
r08a355b r5acf9ab 885 885 skype_write(ic, buf, strlen(buf)); 886 886 } 887 else if(!strncmp(line, "CHATS ", 6)) 888 { 889 char **i; 890 char **chats = g_strsplit(line + 6, ", ", 0); 891 892 i = chats; 893 while (*i) 894 { 895 g_snprintf(buf, 1024, "GET CHAT %s STATUS\n", *i); 896 skype_write( ic, buf, strlen( buf ) ); 897 g_snprintf(buf, 1024, "GET CHAT %s ACTIVEMEMBERS\n", *i); 898 skype_write( ic, buf, strlen( buf ) ); 899 i++; 900 } 901 g_strfreev(chats); 902 } 887 903 lineptr++; 888 904 } … … 928 944 skype_write( ic, buf, strlen( buf ) ); 929 945 g_free(buf); 946 947 /* Auto join to bookmarked chats if requested.*/ 948 if (set_getbool(&ic->acc->set, "auto_join")) { 949 buf = g_strdup_printf("SEARCH BOOKMARKEDCHATS\n"); 950 skype_write( ic, buf, strlen( buf ) ); 951 g_free(buf); 952 } 930 953 return st; 931 954 } … … 1274 1297 s = set_add( &acc->set, "skypeconsole", "false", set_eval_bool, acc ); 1275 1298 s->flags |= ACC_SET_OFFLINE_ONLY; 1299 1300 s = set_add( &acc->set, "auto_join", "false", set_eval_bool, acc ); 1301 s->flags |= ACC_SET_OFFLINE_ONLY; 1276 1302 } 1277 1303
Note: See TracChangeset
for help on using the changeset viewer.