diff options
-rw-r--r-- | main/src/ui/conversation_selector/conversation_row.vala | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/main/src/ui/conversation_selector/conversation_row.vala b/main/src/ui/conversation_selector/conversation_row.vala index 8157fde8..6327e07d 100644 --- a/main/src/ui/conversation_selector/conversation_row.vala +++ b/main/src/ui/conversation_selector/conversation_row.vala @@ -137,7 +137,11 @@ public class ConversationRow : ListBoxRow { FileItem file_item = last_content_item as FileItem; FileTransfer transfer = file_item.file_transfer; - if (conversation.type_ != Conversation.Type.GROUPCHAT) { + if (conversation.type_ == Conversation.Type.GROUPCHAT) { + // TODO properly display nick for oneself + string nick = transfer.direction == Message.DIRECTION_SENT ? _("Me") : Util.get_display_name(stream_interactor, file_item.file_transfer.counterpart, conversation.account); + nick_label.label = nick + ": "; + } else { nick_label.label = transfer.direction == Message.DIRECTION_SENT ? _("Me") + ": " : ""; } |