mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Move all (item/view/media) maps to Data::Session.
This commit is contained in:
@@ -44,7 +44,7 @@ bool WebPageData::applyChanges(
|
||||
const QString &newAuthor,
|
||||
int newPendingTill) {
|
||||
if (newPendingTill != 0
|
||||
&& (!url.isEmpty() || newUrl.isEmpty())
|
||||
&& (!url.isEmpty() || pendingTill < 0)
|
||||
&& (!pendingTill
|
||||
|| pendingTill == newPendingTill
|
||||
|| newPendingTill < -1)) {
|
||||
@@ -103,7 +103,5 @@ bool WebPageData::applyChanges(
|
||||
author = resultAuthor;
|
||||
pendingTill = newPendingTill;
|
||||
++version;
|
||||
if (App::main()) App::main()->webPageUpdated(this);
|
||||
|
||||
return true;
|
||||
}
|
Reference in New Issue
Block a user