diff src/gaim-remote.py @ 12684:2e4e02b72e43

[gaim-migrate @ 15027] SF Patch #1393857 from Steve Cavilia 'This will make gaim-remote accept "aim" as a protocol name as an alias for "oscar," so the traditional aim:goim?... links will work' I also special-cased ICQ. committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Mon, 02 Jan 2006 09:01:52 +0000
parents 64fadbf3810f
children ac5bc9a7b603
line wrap: on
line diff
--- a/src/gaim-remote.py	Sun Jan 01 16:25:17 2006 +0000
+++ b/src/gaim-remote.py	Mon Jan 02 09:01:52 2006 +0000
@@ -63,6 +63,8 @@
 def execute(uri):
     match = re.match(urlregexp, uri)
     protocol = match.group(2)
+    if protocol == "aim" or protocol == "icq":
+        protocol = "oscar"
     if protocol is not None:
         protocol = "prpl-" + protocol
     command = match.group(5)