diff options
Diffstat (limited to 'src/common/zeroconf/connection_zeroconf.py')
-rw-r--r-- | src/common/zeroconf/connection_zeroconf.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/zeroconf/connection_zeroconf.py b/src/common/zeroconf/connection_zeroconf.py index d78dd11ba..c21a54bdf 100644 --- a/src/common/zeroconf/connection_zeroconf.py +++ b/src/common/zeroconf/connection_zeroconf.py @@ -379,7 +379,7 @@ class ConnectionZeroconf(ConnectionHandlersZeroconf): if keyID and self.USE_GPG: if keyID == 'UNKNOWN': error = _('Neither the remote presence is signed, nor a key was assigned.') - elif keyID[8:] == 'MISMATCH': + elif keyID.endswith('MISMATCH'): error = _('The contact\'s key (%s) does not match the key assigned in Gajim.' % keyID[:8]) else: # encrypt |