mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-05 00:55:12 +00:00
Move messages data to AuthSession.
This commit is contained in:
@@ -1840,7 +1840,7 @@ bool InnerWidget::searchReceived(
|
||||
if (lastDate) {
|
||||
const auto item = session().data().addNewMessage(
|
||||
message,
|
||||
NewMessageExisting);
|
||||
NewMessageType::Existing);
|
||||
const auto history = item->history();
|
||||
if (!uniquePeers || !hasHistoryInResults(history)) {
|
||||
_searchResults.push_back(
|
||||
|
Reference in New Issue
Block a user