Mercurial > pidgin
comparison 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 |
comparison
equal
deleted
inserted
replaced
| 12683:41cf9be29754 | 12684:2e4e02b72e43 |
|---|---|
| 61 | 61 |
| 62 | 62 |
| 63 def execute(uri): | 63 def execute(uri): |
| 64 match = re.match(urlregexp, uri) | 64 match = re.match(urlregexp, uri) |
| 65 protocol = match.group(2) | 65 protocol = match.group(2) |
| 66 if protocol == "aim" or protocol == "icq": | |
| 67 protocol = "oscar" | |
| 66 if protocol is not None: | 68 if protocol is not None: |
| 67 protocol = "prpl-" + protocol | 69 protocol = "prpl-" + protocol |
| 68 command = match.group(5) | 70 command = match.group(5) |
| 69 paramstring = match.group(7) | 71 paramstring = match.group(7) |
| 70 params = {} | 72 params = {} |
