From 1e651aa15c2791f2ee114e773ecfd0bf13655884 Mon Sep 17 00:00:00 2001 From: Psayker Date: Mon, 22 Apr 2024 10:52:46 +0300 Subject: [PATCH] Fix codestyle add account display name instead of allias --- main/src/ui/add_conversation/roster_list.vala | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/main/src/ui/add_conversation/roster_list.vala b/main/src/ui/add_conversation/roster_list.vala index 7e0b963f..0680b3fe 100644 --- a/main/src/ui/add_conversation/roster_list.vala +++ b/main/src/ui/add_conversation/roster_list.vala @@ -34,9 +34,9 @@ protected class RosterList { foreach (ulong handler_id in handler_ids) stream_interactor.get_module(RosterManager.IDENTITY).disconnect(handler_id); }); - foreach (Account a in accounts){ + foreach (Account a in accounts) { ListRow own_account_row = new ListRow.from_jid(stream_interactor, a.bare_jid, a, accounts.size > 1); - ListBoxRow own_account_lbrow = new ListBoxRow() { child=own_account_row }; + ListBoxRow own_account_lbrow = new ListBoxRow() { child = own_account_row }; list_box.append(own_account_lbrow); fetch_roster_items(a); @@ -53,7 +53,7 @@ protected class RosterList { private void on_updated_roster_item(Account account, Jid jid, Roster.Item roster_item) { on_removed_roster_item(account, jid, roster_item); ListRow row = new ListRow.from_jid(stream_interactor, roster_item.jid, account, accounts.size > 1); - ListBoxRow list_box_row = new ListBoxRow() { child=row }; + ListBoxRow list_box_row = new ListBoxRow() { child = row }; rows[account][jid] = list_box_row; list_box.append(list_box_row); list_box.invalidate_sort();