summaryrefslogtreecommitdiff
path: root/slixmpp/plugins/xep_0108/stanza.py
diff options
context:
space:
mode:
Diffstat (limited to 'slixmpp/plugins/xep_0108/stanza.py')
-rw-r--r--slixmpp/plugins/xep_0108/stanza.py44
1 files changed, 22 insertions, 22 deletions
diff --git a/slixmpp/plugins/xep_0108/stanza.py b/slixmpp/plugins/xep_0108/stanza.py
index a614e2de..c9a3c362 100644
--- a/slixmpp/plugins/xep_0108/stanza.py
+++ b/slixmpp/plugins/xep_0108/stanza.py
@@ -16,28 +16,28 @@ class UserActivity(ElementBase):
plugin_attrib = 'activity'
interfaces = {'value', 'text'}
sub_interfaces = {'text'}
- general = set(['doing_chores', 'drinking', 'eating', 'exercising',
- 'grooming', 'having_appointment', 'inactive', 'relaxing',
- 'talking', 'traveling', 'undefined', 'working'])
- specific = set(['at_the_spa', 'brushing_teeth', 'buying_groceries',
- 'cleaning', 'coding', 'commuting', 'cooking', 'cycling',
- 'dancing', 'day_off', 'doing_maintenance',
- 'doing_the_dishes', 'doing_the_laundry', 'driving',
- 'fishing', 'gaming', 'gardening', 'getting_a_haircut',
- 'going_out', 'hanging_out', 'having_a_beer',
- 'having_a_snack', 'having_breakfast', 'having_coffee',
- 'having_dinner', 'having_lunch', 'having_tea', 'hiding',
- 'hiking', 'in_a_car', 'in_a_meeting', 'in_real_life',
- 'jogging', 'on_a_bus', 'on_a_plane', 'on_a_train',
- 'on_a_trip', 'on_the_phone', 'on_vacation',
- 'on_video_phone', 'other', 'partying', 'playing_sports',
- 'praying', 'reading', 'rehearsing', 'running',
- 'running_an_errand', 'scheduled_holiday', 'shaving',
- 'shopping', 'skiing', 'sleeping', 'smoking',
- 'socializing', 'studying', 'sunbathing', 'swimming',
- 'taking_a_bath', 'taking_a_shower', 'thinking',
- 'walking', 'walking_the_dog', 'watching_a_movie',
- 'watching_tv', 'working_out', 'writing'])
+ general = {'doing_chores', 'drinking', 'eating', 'exercising',
+ 'grooming', 'having_appointment', 'inactive', 'relaxing',
+ 'talking', 'traveling', 'undefined', 'working'}
+ specific = {'at_the_spa', 'brushing_teeth', 'buying_groceries',
+ 'cleaning', 'coding', 'commuting', 'cooking', 'cycling',
+ 'dancing', 'day_off', 'doing_maintenance',
+ 'doing_the_dishes', 'doing_the_laundry', 'driving',
+ 'fishing', 'gaming', 'gardening', 'getting_a_haircut',
+ 'going_out', 'hanging_out', 'having_a_beer',
+ 'having_a_snack', 'having_breakfast', 'having_coffee',
+ 'having_dinner', 'having_lunch', 'having_tea', 'hiding',
+ 'hiking', 'in_a_car', 'in_a_meeting', 'in_real_life',
+ 'jogging', 'on_a_bus', 'on_a_plane', 'on_a_train',
+ 'on_a_trip', 'on_the_phone', 'on_vacation',
+ 'on_video_phone', 'other', 'partying', 'playing_sports',
+ 'praying', 'reading', 'rehearsing', 'running',
+ 'running_an_errand', 'scheduled_holiday', 'shaving',
+ 'shopping', 'skiing', 'sleeping', 'smoking',
+ 'socializing', 'studying', 'sunbathing', 'swimming',
+ 'taking_a_bath', 'taking_a_shower', 'thinking',
+ 'walking', 'walking_the_dog', 'watching_a_movie',
+ 'watching_tv', 'working_out', 'writing'}
def set_value(self, value):
self.del_value()