From 2cfe56bbbe47c9bf8aa87c48324091e90623d43f Mon Sep 17 00:00:00 2001 From: mathieui Date: Wed, 3 Feb 2021 21:04:36 +0100 Subject: Remove activity/mood/gaming/tune from poezio core rationale: probably 0.1% of poezio users have ever used the commands, and a very small number of users are using the PEP events like that. It is better to unclutter the poezio source and add it as a plugin, with less tight coupling. --- poezio/tabs/rostertab.py | 9 --------- 1 file changed, 9 deletions(-) (limited to 'poezio/tabs') diff --git a/poezio/tabs/rostertab.py b/poezio/tabs/rostertab.py index ad57a9fd..5d2e148c 100644 --- a/poezio/tabs/rostertab.py +++ b/poezio/tabs/rostertab.py @@ -1012,15 +1012,6 @@ class RosterInfoTab(Tab): '%s connected resource%s' % (len(cont), '' if len(cont) == 1 else 's')) acc.append('Current status: %s' % res.status) - if cont.tune: - acc.append('Tune: %s' % common.format_tune_string(cont.tune)) - if cont.mood: - acc.append('Mood: %s' % cont.mood) - if cont.activity: - acc.append('Activity: %s' % cont.activity) - if cont.gaming: - acc.append( - 'Game: %s' % (common.format_gaming_string(cont.gaming))) msg = '\n'.join(acc) elif isinstance(selected_row, Resource): res = selected_row -- cgit v1.2.3