Fixed bug: Dino does not add own account to roster (#696)
Co-authored-by: Psayker <kirill970528@yandex.ru>
This commit is contained in:
parent
e6b8ff34ed
commit
186b4f46d4
|
@ -34,7 +34,13 @@ protected class RosterList {
|
|||
foreach (ulong handler_id in handler_ids) stream_interactor.get_module(RosterManager.IDENTITY).disconnect(handler_id);
|
||||
});
|
||||
|
||||
foreach (Account a in accounts) fetch_roster_items(a);
|
||||
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 };
|
||||
list_box.append(own_account_lbrow);
|
||||
|
||||
fetch_roster_items(a);
|
||||
}
|
||||
}
|
||||
|
||||
private void on_removed_roster_item(Account account, Jid jid, Roster.Item roster_item) {
|
||||
|
|
Loading…
Reference in a new issue