mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 14:17:12 +02:00
Fixed build for macOS and Linux.
This commit is contained in:
parent
3b07785f87
commit
9dfb43d525
3 changed files with 2 additions and 3 deletions
|
@ -225,7 +225,6 @@ TextWithEntities GenerateBannedChangeText(
|
|||
ChatRestrictionsInfo newRights,
|
||||
ChatRestrictionsInfo prevRights) {
|
||||
using Flag = ChatRestriction;
|
||||
using Flags = ChatRestrictions;
|
||||
|
||||
auto newFlags = newRights.flags;
|
||||
auto newUntil = newRights.until;
|
||||
|
|
|
@ -41,7 +41,7 @@ QString GtkIntegration::AllowedBackends() {
|
|||
return {};
|
||||
}
|
||||
|
||||
int GtkIntegration:Exec(
|
||||
int GtkIntegration::Exec(
|
||||
Type type,
|
||||
const QString &parentDBusName,
|
||||
const QString &serviceName) {
|
||||
|
|
|
@ -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(
|
||||
|
|
Loading…
Add table
Reference in a new issue