Use the new libquotient version of the serveracl event

Use with https://github.com/quotient-im/libQuotient/pull/729
This commit is contained in:
James Graham
2024-05-08 16:31:19 +00:00
committed by Tobias Fella
parent 3dd28a0382
commit e9263fc596
3 changed files with 2 additions and 18 deletions

View File

@@ -1,14 +0,0 @@
// SPDX-FileCopyrightText: 2024 James Graham <james.h.graham@protonmail.com>
// SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
#pragma once
#include <Quotient/events/simplestateevents.h>
namespace Quotient
{
// Defined so we can directly switch on type.
DEFINE_SIMPLE_STATE_EVENT(ServerAclEvent, "m.room.server_acl", bool, allow_ip_literals, "allow_ip_literals")
} // namespace Quotient