mirror of
https://github.com/profanity-im/profanity.git
synced 2025-01-03 14:57:42 -05:00
Include subscription states of "both" and "to" in /who output
This commit is contained in:
parent
55f4e3ebca
commit
83c4177692
@ -1246,7 +1246,8 @@ cons_show_contacts(GSList *list)
|
||||
|
||||
while(curr) {
|
||||
PContact contact = curr->data;
|
||||
if (strcmp(p_contact_subscription(contact), "none") != 0) {
|
||||
if ((strcmp(p_contact_subscription(contact), "to") == 0) ||
|
||||
(strcmp(p_contact_subscription(contact), "both") == 0)) {
|
||||
win_show_contact(console, contact);
|
||||
}
|
||||
curr = g_slist_next(curr);
|
||||
|
Loading…
Reference in New Issue
Block a user