commit d8ae34ef86422ce23d6934374a5213b90df07343
parent 30bed4c5a937e94bec1f45aaad091c5566554b35
Author: ThomasV <thomasv@gitorious>
Date: Tue, 21 Apr 2015 09:06:41 +0200
fix: don't attempt openalias when processing a PR
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/plugins/openalias.py b/plugins/openalias.py
@@ -85,6 +85,8 @@ class Plugin(BasePlugin):
return
if self.win.payto_e.is_multiline(): # only supports single line entries atm
return
+ if self.win.payto_e.is_pr:
+ return
url = str(self.win.payto_e.toPlainText())
url = url.replace('@', '.') # support email-style addresses, per the OA standard