2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-05 00:55:12 +00:00

Fixed build for macOS and Linux.

This commit is contained in:
23rd
2021-07-08 16:05:17 +03:00
parent 3b07785f87
commit 9dfb43d525
3 changed files with 2 additions and 3 deletions

View File

@@ -225,7 +225,6 @@ TextWithEntities GenerateBannedChangeText(
ChatRestrictionsInfo newRights,
ChatRestrictionsInfo prevRights) {
using Flag = ChatRestriction;
using Flags = ChatRestrictions;
auto newFlags = newRights.flags;
auto newUntil = newRights.until;

View File

@@ -41,7 +41,7 @@ QString GtkIntegration::AllowedBackends() {
return {};
}
int GtkIntegration:Exec(
int GtkIntegration::Exec(
Type type,
const QString &parentDBusName,
const QString &serviceName) {

View File

@@ -179,7 +179,7 @@ bool CanWriteToActiveChat(not_null<Window::Controller*> controller) {
std::optional<QString> RestrictionToSendStickers(not_null<PeerData*> peer) {
return Data::RestrictionError(
peer,
ChatRestriction::f_send_stickers);
ChatRestriction::SendStickers);
}
std::optional<QString> RestrictionToSendStickers(