mirror of
https://github.com/profanity-im/profanity.git
synced 2024-12-04 14:46:46 -05:00
Don't print empty line when no presence or status displayed in roster
This commit is contained in:
parent
99b4fff949
commit
6935862195
@ -70,7 +70,7 @@ _rosterwin_presence(ProfLayoutSplit *layout, int indent, theme_item_t colour, co
|
|||||||
}
|
}
|
||||||
|
|
||||||
// show both presence and status when not grouped by presence
|
// show both presence and status when not grouped by presence
|
||||||
} else {
|
} else if (prefs_get_boolean(PREF_ROSTER_PRESENCE) || (status && prefs_get_boolean(PREF_ROSTER_STATUS))) {
|
||||||
wattron(layout->subwin, theme_attrs(colour));
|
wattron(layout->subwin, theme_attrs(colour));
|
||||||
GString *msg = g_string_new(" ");
|
GString *msg = g_string_new(" ");
|
||||||
while (indent > 0) {
|
while (indent > 0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user