1
0

hook openalias plugin to command line interface

This commit is contained in:
ThomasV
2015-05-31 14:42:16 +02:00
parent bb7437e534
commit 5a76a0fc95
3 changed files with 11 additions and 2 deletions

View File

@@ -179,6 +179,10 @@ class Plugin(BasePlugin):
return bool(d.exec_())
@hook
def resolve_address(self, url):
return self.resolve(url)[0]
def resolve(self, url):
'''Resolve OpenAlias address using url.'''
self.print_error('[OA] Attempting to resolve OpenAlias data for ' + url)