summaryrefslogtreecommitdiff
path: root/src/contact.py
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2013-06-14 20:36:04 +0200
committermathieui <mathieui@mathieui.net>2013-06-14 20:36:04 +0200
commit2b7676194f174ebb5019d0be1c83c2827af545c9 (patch)
treefa868727251dd90e3ac8d7d1280f38212ad4d02a /src/contact.py
parent833faa4f370f26f2b2296114da27473d2cb6bfb5 (diff)
downloadpoezio-2b7676194f174ebb5019d0be1c83c2827af545c9.tar.gz
poezio-2b7676194f174ebb5019d0be1c83c2827af545c9.tar.bz2
poezio-2b7676194f174ebb5019d0be1c83c2827af545c9.tar.xz
poezio-2b7676194f174ebb5019d0be1c83c2827af545c9.zip
Fix #2320 (TB on /info with an off-roster contact)
Diffstat (limited to 'src/contact.py')
-rw-r--r--src/contact.py2
1 files changed, 2 insertions, 0 deletions
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 ''