diff options
author | Marvin W <git@larma.de> | 2019-12-24 01:21:15 +0100 |
---|---|---|
committer | Marvin W <git@larma.de> | 2019-12-24 01:21:15 +0100 |
commit | 1d1682a357b6ab1ac709160560b43c23ee7163b5 (patch) | |
tree | d24b824c2eec7ea75830a641a0baeeb03196071f | |
parent | cf1c7d3af2ce6324b93f95d68fcffaebcc4a2603 (diff) | |
download | dino-1d1682a357b6ab1ac709160560b43c23ee7163b5.tar.gz dino-1d1682a357b6ab1ac709160560b43c23ee7163b5.zip |
Also display groupchat file authorship correctly in sidebar
-rw-r--r-- | main/src/ui/conversation_selector/conversation_selector_row.vala | 2 |
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") + ": " : ""; } |