comparison libpurple/purple-url-handler @ 16398:81015b477483

Add stub for myim: URL handler.
author Jeffrey Connelly <jaconnel@calpoly.edu>
date Sat, 21 Apr 2007 04:58:13 +0000
parents d06673964ff9
children ca69d4253246
comparison
equal deleted inserted replaced
16397:70c069168459 16398:81015b477483
209 209
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
215 def myspaceim(uri):
216 protocol = "prpl-myspace"
217 print "TODO: send uri: ", uri
218 assert False, "Not implemented"
214 219
215 def sip(uri): 220 def sip(uri):
216 protocol = "prpl-simple" 221 protocol = "prpl-simple"
217 match = re.match(r"^sip:(.*)", uri) 222 match = re.match(r"^sip:(.*)", uri)
218 if not match: 223 if not match:
307 icq(uri) 312 icq(uri)
308 elif type == "irc": 313 elif type == "irc":
309 irc(uri) 314 irc(uri)
310 elif type == "msnim": 315 elif type == "msnim":
311 msnim(uri) 316 msnim(uri)
317 elif type == "myim":
318 myspaceim(uri)
312 elif type == "sip": 319 elif type == "sip":
313 sip(uri) 320 sip(uri)
314 elif type == "xmpp": 321 elif type == "xmpp":
315 xmpp(uri) 322 xmpp(uri)
316 elif type == "ymsgr": 323 elif type == "ymsgr":