diff options
author | Marvin W <git@larma.de> | 2019-10-18 16:52:29 +0200 |
---|---|---|
committer | Marvin W <git@larma.de> | 2019-10-18 16:52:29 +0200 |
commit | e330e60f83e6e46bbc3d320711709f2448b802e7 (patch) | |
tree | 9caf36bae3326e711fe113336985e80e7218b3d5 /main/src/ui/manage_accounts/dialog.vala | |
parent | de3af0ae24b70ccb7670fa236076c061316f03cb (diff) | |
download | dino-e330e60f83e6e46bbc3d320711709f2448b802e7.tar.gz dino-e330e60f83e6e46bbc3d320711709f2448b802e7.zip |
Base avatars and names on conversation, not JID.
Fixes #598
Diffstat (limited to 'main/src/ui/manage_accounts/dialog.vala')
-rw-r--r-- | main/src/ui/manage_accounts/dialog.vala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/main/src/ui/manage_accounts/dialog.vala b/main/src/ui/manage_accounts/dialog.vala index e605e083..8685ed88 100644 --- a/main/src/ui/manage_accounts/dialog.vala +++ b/main/src/ui/manage_accounts/dialog.vala @@ -182,14 +182,14 @@ public class Dialog : Gtk.Dialog { private void on_received_avatar(Pixbuf pixbuf, Jid jid, Account account) { if (selected_account.equals(account) && jid.equals(account.bare_jid)) { - image.set_jid(stream_interactor, account.bare_jid, account); + image.set_conversation(stream_interactor, new Conversation(account.bare_jid, account, Conversation.Type.CHAT)); } } private void populate_grid_data(Account account) { active_switch.state_set.disconnect(change_account_state); - image.set_jid(stream_interactor, account.bare_jid, account); + image.set_conversation(stream_interactor, new Conversation(account.bare_jid, account, Conversation.Type.CHAT)); active_switch.set_active(account.enabled); jid_label.label = account.bare_jid.to_string(); |