comparison libpurple/purple-url-handler @ 17319:8a7238fb7905

explicit merge of 'dc4f2ee34039521ae6a198fe7d62f4dca8a84589' and '9d8bc74c7c13474edcefafedd0af9020b27c9a2f'
author Jeffrey Connelly <jaconnel@calpoly.edu>
date Wed, 30 May 2007 02:56:25 +0000
parents ca69d4253246 5059a0a071a2
children fefe61275687
comparison
equal deleted inserted replaced
16747:496855295bd7 17319:8a7238fb7905
210 if command.lower() == "chat": 210 if command.lower() == "chat":
211 goim(account, screenname) 211 goim(account, screenname)
212 elif command.lower() == "add": 212 elif command.lower() == "add":
213 addbuddy(account, screenname) 213 addbuddy(account, screenname)
214 214
215 def myspaceim(uri): 215 def myim(uri):
216 protocol = "prpl-myspace" 216 protocol = "prpl-myspace"
217 print "TODO: send uri: ", uri 217 print "TODO: send uri: ", uri
218 assert False, "Not implemented" 218 assert False, "Not implemented"
219 219
220 def sip(uri): 220 def sip(uri):
313 elif type == "irc": 313 elif type == "irc":
314 irc(uri) 314 irc(uri)
315 elif type == "msnim": 315 elif type == "msnim":
316 msnim(uri) 316 msnim(uri)
317 elif type == "myim": 317 elif type == "myim":
318 myspaceim(uri) 318 myim(uri)
319 elif type == "sip": 319 elif type == "sip":
320 sip(uri) 320 sip(uri)
321 elif type == "xmpp": 321 elif type == "xmpp":
322 xmpp(uri) 322 xmpp(uri)
323 elif type == "ymsgr": 323 elif type == "ymsgr":
324 ymsgr(uri) 324 ymsgr(uri)
325 else: 325 else:
326 print "Unkown protocol: %s" % type 326 print "Unknown protocol: %s" % type
327 except dbus.dbus_bindings.DBusException: 327 except dbus.dbus_bindings.DBusException:
328 print "ERROR: Is there a libpurple-powered client (e.g. Pidgin or Finch) running?" 328 print "ERROR: Is there a libpurple-powered client (e.g. Pidgin or Finch) running?"
329 329
330 330
331 if __name__ == "__main__": 331 if __name__ == "__main__":