From 1d1682a357b6ab1ac709160560b43c23ee7163b5 Mon Sep 17 00:00:00 2001 From: Marvin W Date: Tue, 24 Dec 2019 01:21:15 +0100 Subject: Also display groupchat file authorship correctly in sidebar --- main/src/ui/conversation_selector/conversation_selector_row.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main') 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") + ": " : ""; } -- cgit v1.2.3-70-g09d2