summaryrefslogtreecommitdiff
path: root/src/contact.py
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2013-03-11 23:06:52 +0100
committermathieui <mathieui@mathieui.net>2013-03-11 23:06:52 +0100
commitcec1151ecb577a270b9e1f0ae5eaa238d3269ae8 (patch)
treedad224100ca67d09301d6d2fc3d64b958b7acc54 /src/contact.py
parentd2d04162146e6df454d67a4e48ee6655af1d6c0a (diff)
downloadpoezio-cec1151ecb577a270b9e1f0ae5eaa238d3269ae8.tar.gz
poezio-cec1151ecb577a270b9e1f0ae5eaa238d3269ae8.tar.bz2
poezio-cec1151ecb577a270b9e1f0ae5eaa238d3269ae8.tar.xz
poezio-cec1151ecb577a270b9e1f0ae5eaa238d3269ae8.zip
Fix #1839 (User mood/activity)
- Added as always new theming variables: CHAR_ROSTER_MOOD, CHAR_ROSTER_ACTIVITY (a SNOWMAN!) COLOR_ROSTER_MOOD, COLOR_ROSTER_ACTIVITY - Added two new notification types in Theme.INFO_COLORS (mood/activity) - Added new configuration options: display_mood/activity/tune_notifications (those can be set for a specific JID) enable_user_tune/nick/activity/mood - Added /activity and /mood commands, with completions - Moved the old /activity to /last_activity - Details are show in the ContactInfoWin if there is room, or with "i" on a contact in the roster.
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 46cf8e6f..8e6595db 100644
--- a/src/contact.py
+++ b/src/contact.py
@@ -68,6 +68,8 @@ class Contact(object):
self._name = ''
self.error = None
self.tune = {}
+ self.mood = ''
+ self.activity = ''
@property
def groups(self):