summaryrefslogtreecommitdiff
path: root/plugins/gpg
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2014-02-03 20:57:40 +0100
committerFlorent Le Coz <louiz@louiz.org>2014-02-03 21:00:01 +0100
commitd52e82660d2dcf7e33cd2cd942f18233a835b1d9 (patch)
tree2a925671532688de1571f507c6657272f0adcb49 /plugins/gpg
parentf6e5cd186f41d4ce48d9341b16e7650bed431030 (diff)
downloadpoezio-d52e82660d2dcf7e33cd2cd942f18233a835b1d9.tar.gz
poezio-d52e82660d2dcf7e33cd2cd942f18233a835b1d9.tar.bz2
poezio-d52e82660d2dcf7e33cd2cd942f18233a835b1d9.tar.xz
poezio-d52e82660d2dcf7e33cd2cd942f18233a835b1d9.zip
Don’t set our status to None on /unload gpg
Diffstat (limited to 'plugins/gpg')
-rw-r--r--plugins/gpg/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/gpg/__init__.py b/plugins/gpg/__init__.py
index a6ecf865..6c1165df 100644
--- a/plugins/gpg/__init__.py
+++ b/plugins/gpg/__init__.py
@@ -192,7 +192,7 @@ class Plugin(BasePlugin):
that we cannot/do not want to encrypt/decrypt messages.
"""
current_presence = self.core.get_status()
- self.core.command_status('%s %s' % (current_presence.show or 'available', current_presence.message,))
+ self.core.command_status('%s %s' % (current_presence.show or 'available', current_presence.message or '',))
def on_normal_presence(self, presence, resource):
"""