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:
@@ -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(
|
||||
|
Reference in New Issue
Block a user