mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +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 newRights,
|
||||||
ChatRestrictionsInfo prevRights) {
|
ChatRestrictionsInfo prevRights) {
|
||||||
using Flag = ChatRestriction;
|
using Flag = ChatRestriction;
|
||||||
using Flags = ChatRestrictions;
|
|
||||||
|
|
||||||
auto newFlags = newRights.flags;
|
auto newFlags = newRights.flags;
|
||||||
auto newUntil = newRights.until;
|
auto newUntil = newRights.until;
|
||||||
|
|
|
@ -41,7 +41,7 @@ QString GtkIntegration::AllowedBackends() {
|
||||||
return {};
|
return {};
|
||||||
}
|
}
|
||||||
|
|
||||||
int GtkIntegration:Exec(
|
int GtkIntegration::Exec(
|
||||||
Type type,
|
Type type,
|
||||||
const QString &parentDBusName,
|
const QString &parentDBusName,
|
||||||
const QString &serviceName) {
|
const QString &serviceName) {
|
||||||
|
|
|
@ -179,7 +179,7 @@ bool CanWriteToActiveChat(not_null<Window::Controller*> controller) {
|
||||||
std::optional<QString> RestrictionToSendStickers(not_null<PeerData*> peer) {
|
std::optional<QString> RestrictionToSendStickers(not_null<PeerData*> peer) {
|
||||||
return Data::RestrictionError(
|
return Data::RestrictionError(
|
||||||
peer,
|
peer,
|
||||||
ChatRestriction::f_send_stickers);
|
ChatRestriction::SendStickers);
|
||||||
}
|
}
|
||||||
|
|
||||||
std::optional<QString> RestrictionToSendStickers(
|
std::optional<QString> RestrictionToSendStickers(
|
||||||
|
|
Loading…
Add table
Reference in a new issue