aboutsummaryrefslogtreecommitdiff
path: root/main/src/ui/contact_details/dialog.vala
diff options
context:
space:
mode:
authorMarvin W <git@larma.de>2019-10-18 16:52:29 +0200
committerMarvin W <git@larma.de>2019-10-18 16:52:29 +0200
commite330e60f83e6e46bbc3d320711709f2448b802e7 (patch)
tree9caf36bae3326e711fe113336985e80e7218b3d5 /main/src/ui/contact_details/dialog.vala
parentde3af0ae24b70ccb7670fa236076c061316f03cb (diff)
downloaddino-e330e60f83e6e46bbc3d320711709f2448b802e7.tar.gz
dino-e330e60f83e6e46bbc3d320711709f2448b802e7.zip
Base avatars and names on conversation, not JID.
Fixes #598
Diffstat (limited to 'main/src/ui/contact_details/dialog.vala')
-rw-r--r--main/src/ui/contact_details/dialog.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/ui/contact_details/dialog.vala b/main/src/ui/contact_details/dialog.vala
index 8cbd8c54..ba9213a8 100644
--- a/main/src/ui/contact_details/dialog.vala
+++ b/main/src/ui/contact_details/dialog.vala
@@ -72,7 +72,7 @@ public class Dialog : Gtk.Dialog {
}
jid_label.label = conversation.counterpart.to_string();
account_label.label = "via " + conversation.account.bare_jid.to_string();
- avatar.set_jid(stream_interactor, conversation.counterpart, conversation.account);
+ avatar.set_conversation(stream_interactor, conversation);
}
private void add_entry(string category, string label, string? description, Object wo) {