[pgp] Mute plugin config dialog if dependency missing

This commit is contained in:
Daniel Brötzmann
2020-03-24 20:04:41 +01:00
parent 7a2eda54a6
commit 34c700a8f7

View File

@@ -77,6 +77,7 @@ class PGPPlugin(GajimPlugin):
self.description = _('PGP encryption as per XEP-0027')
if ERROR_MSG:
self.activatable = False
self.config_dialog = None
self.available_text = ERROR_MSG
return