aboutsummaryrefslogtreecommitdiff
path: root/main/src
diff options
context:
space:
mode:
authorMarvin W <git@larma.de>2019-12-24 01:21:15 +0100
committerMarvin W <git@larma.de>2019-12-24 01:21:15 +0100
commit1d1682a357b6ab1ac709160560b43c23ee7163b5 (patch)
treed24b824c2eec7ea75830a641a0baeeb03196071f /main/src
parentcf1c7d3af2ce6324b93f95d68fcffaebcc4a2603 (diff)
downloaddino-1d1682a357b6ab1ac709160560b43c23ee7163b5.tar.gz
dino-1d1682a357b6ab1ac709160560b43c23ee7163b5.zip
Also display groupchat file authorship correctly in sidebar
Diffstat (limited to 'main/src')
-rw-r--r--main/src/ui/conversation_selector/conversation_selector_row.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/ui/conversation_selector/conversation_selector_row.vala b/main/src/ui/conversation_selector/conversation_selector_row.vala
index fb4fbf1a..421ebd75 100644
--- a/main/src/ui/conversation_selector/conversation_selector_row.vala
+++ b/main/src/ui/conversation_selector/conversation_selector_row.vala
@@ -145,7 +145,7 @@ public class ConversationSelectorRow : ListBoxRow {
if (conversation.type_ == Conversation.Type.GROUPCHAT) {
// TODO properly display nick for oneself
- nick_label.label = Util.get_participant_display_name(stream_interactor, conversation, file_item.file_transfer.counterpart, true) + ": ";
+ nick_label.label = Util.get_participant_display_name(stream_interactor, conversation, file_item.file_transfer.from, true) + ": ";
} else {
nick_label.label = transfer.direction == Message.DIRECTION_SENT ? _("Me") + ": " : "";
}