changeset 16398:81015b477483

Add stub for myim: URL handler.
author Jeffrey Connelly <jaconnel@calpoly.edu>
date Sat, 21 Apr 2007 04:58:13 +0000
parents 70c069168459
children eca698c354d0
files libpurple/purple-url-handler
diffstat 1 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/purple-url-handler	Sat Apr 21 04:18:16 2007 +0000
+++ b/libpurple/purple-url-handler	Sat Apr 21 04:58:13 2007 +0000
@@ -212,6 +212,11 @@
     elif command.lower() == "add":
         addbuddy(account, screenname)
 
+def myspaceim(uri):
+	protocol = "prpl-myspace"
+	print "TODO: send uri: ", uri
+	assert False, "Not implemented"
+
 def sip(uri):
     protocol = "prpl-simple"
     match = re.match(r"^sip:(.*)", uri)
@@ -309,6 +314,8 @@
             irc(uri)
         elif type == "msnim":
             msnim(uri)
+        elif type == "myim":
+            myspaceim(uri)
         elif type == "sip":
             sip(uri)
         elif type == "xmpp":