- Timestamp:
- 2013-03-17T13:03:25Z (12 years ago)
- Branches:
- master
- Children:
- 0075527, e31e5b8
- Parents:
- ed3ff43 (diff), 215e171 (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 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/skype/README
red3ff43 r9b2a8c1 31 31 == Requirements 32 32 33 * Skype >= 1.4.0.99. The latest version I've tested is 2.2.0.35.33 * Skype >= 1.4.0.99. The latest version I've tested is 4.1.0.20. 34 34 * BitlBee >= 3.0. The latest version I've tested is @BITLBEE_VERSION@. Use 35 35 old versions (see the NEWS file about which one) if you have older BitlBee -
protocols/skype/skype.c
red3ff43 r9b2a8c1 1015 1015 sd->adder = NULL; 1016 1016 } 1017 } else if (!strncmp(info, "MEMBERS ", 8) ) {1017 } else if (!strncmp(info, "MEMBERS ", 8) || !strncmp(info, "ACTIVEMEMBERS ", 14) ) { 1018 1018 info += 8; 1019 1019 gc = bee_chat_by_title(ic->bee, ic, id); … … 1220 1220 1221 1221 /* Auto join to bookmarked chats if requested.*/ 1222 if (set_getbool(&ic->acc->set, "auto_join")) 1222 if (set_getbool(&ic->acc->set, "auto_join")) { 1223 1223 skype_printf(ic, "SEARCH BOOKMARKEDCHATS\n"); 1224 skype_printf(ic, "SEARCH ACTIVECHATS\n"); 1225 skype_printf(ic, "SEARCH MISSEDCHATS\n"); 1226 skype_printf(ic, "SEARCH RECENTCHATS\n"); 1227 } 1224 1228 return st; 1225 1229 } -
protocols/skype/skyped.py
red3ff43 r9b2a8c1 129 129 if not options.conn: return 130 130 try: 131 sock.sendall(txt)131 done = sock.sendall(txt) 132 132 except socket.error as s: 133 133 dprint("Warning, sending '%s' failed (%s)." % (txt, s)) … … 139 139 if wait_for_lock(options.lock, 3, 10, "socket send"): 140 140 try: 141 if options.conn: sock.sendall(txt)141 if options.conn: done = sock.sendall(txt) 142 142 options.lock.release() 143 143 except socket.error as s: … … 254 254 global options 255 255 256 now = strftime("%Y-%m-%d %H:%M:%S")257 258 256 if options.debug: 257 import inspect 258 prefix = strftime("[%Y-%m-%d %H:%M:%S]") + " %s:%d" % inspect.stack()[1][1:3] 259 259 sanitized = msg 260 260 261 261 try: 262 print now+ ": " + msg262 print prefix + ": " + msg 263 263 except Exception, s: 264 264 try: … … 269 269 except Error, s: 270 270 sanitized = "[unable to print debug message]" 271 print now+ "~=" + sanitized271 print prefix + "~=" + sanitized 272 272 273 273 if options.log: 274 274 sock = open(options.log, "a") 275 sock.write( "%s skyped: %s\n" % (now, sanitized))275 sock.write(prefix + ": " + sanitized) 276 276 sock.close() 277 277 … … 468 468 469 469 if not os.path.exists(options.config): 470 parser.error(( "Can't find configuration file at '%s'. "470 parser.error(( "Can't find configuration file at '%s'. " 471 471 "Use the -c option to specify an alternate one." )% options.config) 472 472 -
protocols/skype/test.py
red3ff43 r9b2a8c1 110 110 self.mock("groupchat-invite") 111 111 112 def testGroupchatLeave(self): 113 self.mock("groupchat-leave") 114 112 115 def testCalledYes(self): 113 116 self.mock("called-yes")
Note: See TracChangeset
for help on using the changeset viewer.