From 2b7676194f174ebb5019d0be1c83c2827af545c9 Mon Sep 17 00:00:00 2001 From: mathieui Date: Fri, 14 Jun 2013 20:36:04 +0200 Subject: Fix #2320 (TB on /info with an off-roster contact) --- src/contact.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/contact.py') diff --git a/src/contact.py b/src/contact.py index 5074a0dc..93f2f69e 100644 --- a/src/contact.py +++ b/src/contact.py @@ -41,6 +41,8 @@ class Resource(object): def presence(self): return self._data.get('show') or '' + show = presence + @property def status(self): return self._data.get('status') or '' -- cgit v1.2.3