fix: make it compile on macOS & fix warnings

This commit is contained in:
AlexeyZavar
2025-10-31 12:01:53 +03:00
parent 4af1ca65ed
commit b59115e27c
11 changed files with 50 additions and 53 deletions
+1 -1
View File
@@ -4016,7 +4016,7 @@ void ApiWrap::sendMessage(
? Data::CanSendTexts(topic)
: Data::CanSendTexts(peer);
if (!canSendTexts && !AyuForward::isForwarding(peer->id) || Api::SendDice(message)) {
if ((!canSendTexts && !AyuForward::isForwarding(peer->id)) || Api::SendDice(message)) {
return;
}
local().saveRecentSentHashtags(textWithTags.text);