Skip to content

Commit

Permalink
Fix codestyle add account display name instead of allias
Browse files Browse the repository at this point in the history
  • Loading branch information
Psayker authored and mxlgv committed Apr 24, 2024
1 parent 2f7f7c3 commit 1e651aa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions main/src/ui/add_conversation/roster_list.vala
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -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();
Expand Down

0 comments on commit 1e651aa

Please sign in to comment.