Mercurial > pidgin
comparison libpurple/purple-url-handler @ 16721:ca69d4253246
explicit merge of '92e787fa231318dd21ddc9dd68f17b636033b13e'
and 'ea739f0c09468a0ca1e1761b05a4d5a453f402ec'
author | Jeffrey Connelly <jaconnel@calpoly.edu> |
---|---|
date | Tue, 01 May 2007 03:11:38 +0000 |
parents | 27dfbca8dd40 81015b477483 |
children | 8a7238fb7905 |
comparison
equal
deleted
inserted
replaced
16700:79bc35a19de5 | 16721:ca69d4253246 |
---|---|
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": |