Also display groupchat file authorship correctly in sidebar

This commit is contained in:
Marvin W 2019-12-24 01:21:15 +01:00
parent cf1c7d3af2
commit 1d1682a357
No known key found for this signature in database
GPG key ID: 072E9235DB996F2A

View file

@ -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") + ": " : "";
}