mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-08 08:04:08 +02:00
Highlight active topic in chats list.
This commit is contained in:
parent
1e8dfb7315
commit
b77756ce12
1 changed files with 6 additions and 0 deletions
|
@ -1540,6 +1540,12 @@ not_null<History*> RepliesWidget::history() const {
|
||||||
}
|
}
|
||||||
|
|
||||||
Dialogs::RowDescriptor RepliesWidget::activeChat() const {
|
Dialogs::RowDescriptor RepliesWidget::activeChat() const {
|
||||||
|
if (_topic) {
|
||||||
|
return {
|
||||||
|
_topic,
|
||||||
|
FullMsgId(_history->peer->id, ShowAtUnreadMsgId),
|
||||||
|
};
|
||||||
|
}
|
||||||
return {
|
return {
|
||||||
_history,
|
_history,
|
||||||
FullMsgId(_history->peer->id, ShowAtUnreadMsgId)
|
FullMsgId(_history->peer->id, ShowAtUnreadMsgId)
|
||||||
|
|
Loading…
Add table
Reference in a new issue