bugfix: when we have an error, we sane an error to the GUI, not a notify
This commit is contained in:
parent
d98a451764
commit
c22e2c5f7a
|
@ -264,9 +264,8 @@ class Connection:
|
|||
if errcode == '409': #conflict : Nick Conflict
|
||||
self.dispatch('ERROR', errmsg)
|
||||
else:
|
||||
self.dispatch('NOTIFY', (prs.getFrom().getStripped(), 'error', \
|
||||
errmsg, prs.getFrom().getResource(), prio, keyID, None, None, \
|
||||
None, None, None, None))
|
||||
self.dispatch('ERROR_ANSWER', (prs.getFrom().getStripped(), errmsg,
|
||||
errcode))
|
||||
if ptype == 'available' or ptype == 'unavailable':
|
||||
gajim.logger.write('status', status, prs.getFrom().getStripped(), show)
|
||||
self.dispatch('NOTIFY', (prs.getFrom().getStripped(), show, status, \
|
||||
|
|
Loading…
Reference in New Issue