Skip to content
Snippets Groups Projects
Commit 9519d1bd authored by js's avatar js
Browse files

A subactivity of other means we have no subactivity.

parent 90b2d8fa
No related branches found
No related tags found
No related merge requests found
......@@ -332,7 +332,7 @@ def user_activity(items, name, jid):
del acc.activity['text']
if activity is not None:
acc.activity['activity'] = activity
if subactivity is not None:
if subactivity is not None and subactivity != 'other':
acc.activity['subactivity'] = subactivity
if text is not None:
acc.activity['text'] = text
......@@ -355,7 +355,7 @@ def user_activity(items, name, jid):
del contact.activity['text']
if activity is not None:
contact.activity['activity'] = activity
if subactivity is not None:
if subactivity is not None and subactivity != 'other':
contact.activity['subactivity'] = subactivity
if text is not None:
contact.activity['text'] = text
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment