[pgp] Mute plugin config dialog if dependency missing

This commit is contained in:
Daniel Brötzmann committed 2020-04-20 09:35:32 +02:00
1 parent 7a2eda54a6
commit 34c700a8f7
1 file changed
+1
+1
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