Highlight active topic in chats list.
This commit is contained in:
parent
1e8dfb7315
commit
b77756ce12
|
@ -1540,6 +1540,12 @@ not_null<History*> RepliesWidget::history() const {
|
|||
}
|
||||
|
||||
Dialogs::RowDescriptor RepliesWidget::activeChat() const {
|
||||
if (_topic) {
|
||||
return {
|
||||
_topic,
|
||||
FullMsgId(_history->peer->id, ShowAtUnreadMsgId),
|
||||
};
|
||||
}
|
||||
return {
|
||||
_history,
|
||||
FullMsgId(_history->peer->id, ShowAtUnreadMsgId)
|
||||
|
|
Loading…
Reference in New Issue