- Timestamp:
- 2011-06-16T21:59:06Z (13 years ago)
- Branches:
- master
- Children:
- 2ff0f37
- Parents:
- 370899f (diff), 05d964c (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - Location:
- protocols/skype
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/skype/skype.c
r370899f rbf8ee39 912 912 imcb_chat_free(gc); 913 913 if (!strcmp(info, "STATUS MULTI_SUBSCRIBED")) { 914 gc = imcb_chat_new(ic, id); 915 imcb_chat_name_hint(gc, id); 914 gc = bee_chat_by_title(ic->bee, ic, id); 915 if (!gc) { 916 gc = imcb_chat_new(ic, id); 917 imcb_chat_name_hint(gc, id); 918 } 916 919 skype_printf(ic, "GET CHAT %s ADDER\n", id); 917 920 skype_printf(ic, "GET CHAT %s TOPIC\n", id); … … 1198 1201 skype_printf(ic, "SET USERSTATUS OFFLINE\n"); 1199 1202 1203 while( ic->groupchats ) 1204 imcb_chat_free(ic->groupchats->data); 1205 1200 1206 for (i = 0; i < g_list_length(sd->groups); i++) { 1201 1207 struct skype_group *sg = (struct skype_group *)g_list_nth_data(sd->groups, i); … … 1392 1398 char *ptr, *nick; 1393 1399 1394 /* Unused parameter */ 1395 who = who; 1396 1397 nick = g_strdup(message); 1400 nick = g_strdup(who); 1398 1401 ptr = strchr(nick, '@'); 1399 1402 if (ptr) -
protocols/skype/skyped.py
r370899f rbf8ee39 180 180 def server(host, port, skype = None): 181 181 global options 182 sock = socket.socket() 182 if ":" in host: 183 sock = socket.socket(socket.AF_INET6) 184 else: 185 sock = socket.socket() 183 186 sock.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1) 184 187 sock.bind((host, port)) … … 360 363 -d --debug enable debug messages 361 364 -h --help this help 362 -H --host set the tcp host (default: %s)365 -H --host set the tcp host, supports IPv4 and IPv6 (default: %s) 363 366 -l --log set the log file in background mode (default: none) 364 367 -n --nofork don't run as daemon in the background
Note: See TracChangeset
for help on using the changeset viewer.