Remove the ?OTR Error: prefix when displaying an OTR error
This commit is contained in:
parent
1c5589bbd3
commit
ef3f5bf1d1
1 changed files with 1 additions and 1 deletions
|
@ -579,7 +579,7 @@ class Plugin(BasePlugin):
|
|||
return
|
||||
except ErrorReceived as err:
|
||||
# Received an OTR error
|
||||
format_dict['err'] = bytes(err.args[0]).decode('utf-8')
|
||||
format_dict['err'] = err.args[0].error.decode('utf-8', errors='replace')
|
||||
tab.add_message(OTR_ERROR % format_dict, typ=0)
|
||||
del msg['body']
|
||||
del msg['html']
|
||||
|
|
Loading…
Reference in a new issue