Confirm enable sharing request sending.

This commit is contained in:
John Preston
2026-02-27 22:54:41 +04:00
parent cb902dae76
commit 20f79c5ae5
5 changed files with 53 additions and 1 deletions

View File

@@ -656,6 +656,9 @@ void UserData::setNoForwardsFlags(bool myEnabled, bool peerEnabled) {
setFlags((flags() & ~mask)
| (myEnabled ? Flag::NoForwardsMyEnabled : Flag())
| (peerEnabled ? Flag::NoForwardsPeerEnabled : Flag()));
if (!myEnabled && !peerEnabled) {
owner().clearSharingDisabledTime(this);
}
}
int UserData::starsPerMessage() const {