mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-19 19:06:21 +00:00
Refactored all window recipients and types
Tests need fixing
This commit is contained in:
@@ -469,7 +469,7 @@ _cons_show_bookmarks(const GList *list)
|
||||
win_save_print(console, '-', NULL, NO_DATE | NO_EOL, presence_colour, "", " (private)");
|
||||
}
|
||||
if (muc_active(item->jid)) {
|
||||
ProfWin *roomwin = wins_get_by_recipient(item->jid);
|
||||
ProfWin *roomwin = (ProfWin*)wins_get_muc(item->jid);
|
||||
if (roomwin != NULL) {
|
||||
int num = wins_get_num(roomwin);
|
||||
win_save_vprint(console, '-', NULL, NO_DATE | NO_EOL, presence_colour, "", " (%d)", num);
|
||||
|
||||
Reference in New Issue
Block a user