diff options
author | Aleksey Lim <alsroot@sugarlabs.org> | 2012-04-14 06:15:21 (GMT) |
---|---|---|
committer | Aleksey Lim <alsroot@sugarlabs.org> | 2012-04-14 06:15:21 (GMT) |
commit | 8e020d43de73ba96660036b7fbdcdb5d883511e4 (patch) | |
tree | bc3cf4050f7be1bfdf26e2f79ccad1b3e7d4ae81 | |
parent | 8295813ebcf834dc8c1497f4e0a31020fa1a80e2 (diff) |
Ignore any auxiliary messages
-rw-r--r-- | activity.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/activity.py b/activity.py index 6a54327..b885842 100644 --- a/activity.py +++ b/activity.py @@ -416,6 +416,10 @@ class TextChannelWrapper(object): Converts sender to a Buddy. Calls self._activity_cb which is a callback to the activity. """ + if type_ != 0: + # Exclude any auxiliary messages + return + if self._activity_cb: try: self._text_chan[CHANNEL_INTERFACE_GROUP] |