mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Fixed pinned chats in chats filters.
Regression was introduced in e3465da979
.
This commit is contained in:
parent
8502b90c25
commit
ca0adba6cf
1 changed files with 1 additions and 1 deletions
|
@ -716,7 +716,7 @@ bool ChatFilters::applyChange(ChatFilter &filter, ChatFilter &&updated) {
|
||||||
}
|
}
|
||||||
if (pinnedChanged) {
|
if (pinnedChanged) {
|
||||||
const auto filterList = _owner->chatsFilters().chatsList(id);
|
const auto filterList = _owner->chatsFilters().chatsList(id);
|
||||||
filterList->pinned()->applyList(wasFilter.pinned());
|
filterList->pinned()->applyList(filter.pinned());
|
||||||
}
|
}
|
||||||
if (chatlistChanged) {
|
if (chatlistChanged) {
|
||||||
_isChatlistChanged.fire_copy(id);
|
_isChatlistChanged.fire_copy(id);
|
||||||
|
|
Loading…
Add table
Reference in a new issue