- Timestamp:
- 2011-01-01T16:55:20Z (14 years ago)
- Branches:
- master
- Children:
- 89d6845
- Parents:
- edbfade
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
skype/skype.c
redbfade r8b8d1bed 859 859 } 860 860 861 static void skype_parse_groups(struct im_connection *ic, char *line) 862 { 863 char **i; 864 char **groups = g_strsplit(line + 7, ", ", 0); 865 866 i = groups; 867 while (*i) { 868 skype_printf(ic, "GET GROUP %s DISPLAYNAME\n", *i); 869 skype_printf(ic, "GET GROUP %s USERS\n", *i); 870 i++; 871 } 872 g_strfreev(groups); 873 } 874 861 875 typedef void (*skype_parser)(struct im_connection *ic, char *line); 862 876 … … 883 897 { "PING", skype_parse_ping }, 884 898 { "CHATS ", skype_parse_chats }, 899 { "GROUPS ", skype_parse_groups }, 885 900 }; 886 901 … … 939 954 skype_printf(ic, "PASSWORD %s\n", ic->acc->pass); 940 955 941 /* This will download all buddies . */956 /* This will download all buddies and groups. */ 942 957 st = skype_printf(ic, "SEARCH FRIENDS\n"); 958 skype_printf(ic, "SEARCH GROUPS CUSTOM\n"); 959 943 960 skype_printf(ic, "SET USERSTATUS ONLINE\n"); 944 961
Note: See TracChangeset
for help on using the changeset viewer.