mirror of
https://hubproxy.babadafafafafa.cn/https://github.com/telegramdesktop/tdesktop
synced 2026-09-21 00:23:56 +08:00
Confirm enable sharing request sending.
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user