do not add http:// in urls. fixes #1493

This commit is contained in:
Nikos Kouremenos 2006-01-31 21:13:46 +00:00
parent 475ebb8879
commit 9f4753cc06
1 changed files with 1 additions and 4 deletions

View File

@ -356,10 +356,7 @@ def launch_browser_mailer(kind, uri):
pass
else:
if kind == 'url' and not\
(uri.startswith('http://') or uri.startswith('https://')):
uri = 'http://' + uri
elif kind == 'mail' and not uri.startswith('mailto:'):
if kind == 'mail' and not uri.startswith('mailto:'):
uri = 'mailto:' + uri
if gajim.config.get('openwith') == 'gnome-open':