diff --git a/src/app/chat/view.nim b/src/app/chat/view.nim index bf7f5be719..4c0ada7caf 100644 --- a/src/app/chat/view.nim +++ b/src/app/chat/view.nim @@ -308,7 +308,9 @@ QtObject: if self.status.chat.channels.hasKey(msg.chatId): let chat = self.status.chat.channels[msg.chatId] if (chat.chatType == ChatType.Profile): - self.messageList[status_utils.getTimelineChatId()].add(msg) + let timelineChatId = status_utils.getTimelineChatId() + self.messageList[timelineChatId].add(msg) + if self.activeChannel.id == timelineChatId: self.activeChannelChanged() else: self.messageList[msg.chatId].add(msg) self.messagePushed()