mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Version 4.14.5: Fix build with GCC.
This commit is contained in:
@@ -1935,7 +1935,6 @@ void Widget::searchMessages(QString query, Key inChat) {
|
||||
const auto inChatChanged = [&] {
|
||||
const auto inPeer = inChat.peer();
|
||||
const auto inTopic = inChat.topic();
|
||||
const auto inSublist = inChat.sublist();
|
||||
if (!inTopic
|
||||
&& _openedForum
|
||||
&& inPeer == _openedForum->channel()
|
||||
@@ -2615,7 +2614,6 @@ bool Widget::setSearchInChat(
|
||||
}
|
||||
const auto peer = chat.peer();
|
||||
const auto topic = chat.topic();
|
||||
const auto sublist = chat.sublist();
|
||||
const auto forum = peer ? peer->forum() : nullptr;
|
||||
if (chat.folder() || (forum && !topic)) {
|
||||
chat = Key();
|
||||
|
Reference in New Issue
Block a user