Also display groupchat file authorship correctly in sidebar
This commit is contained in:
parent
cf1c7d3af2
commit
1d1682a357
|
@ -145,7 +145,7 @@ public class ConversationSelectorRow : ListBoxRow {
|
||||||
|
|
||||||
if (conversation.type_ == Conversation.Type.GROUPCHAT) {
|
if (conversation.type_ == Conversation.Type.GROUPCHAT) {
|
||||||
// TODO properly display nick for oneself
|
// 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 {
|
} else {
|
||||||
nick_label.label = transfer.direction == Message.DIRECTION_SENT ? _("Me") + ": " : "";
|
nick_label.label = transfer.direction == Message.DIRECTION_SENT ? _("Me") + ": " : "";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue