File indexing completed on 2024-05-12 05:01:25

0001 // SPDX-FileCopyrightText: 2024 James Graham <james.h.graham@protonmail.com>
0002 // SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
0003 
0004 #pragma once
0005 
0006 #include <Quotient/events/simplestateevents.h>
0007 
0008 namespace Quotient
0009 {
0010 
0011 // Defined so we can directly switch on type.
0012 DEFINE_SIMPLE_STATE_EVENT(ServerAclEvent, "m.room.server_acl", bool, allow_ip_literals, "allow_ip_literals")
0013 
0014 } // namespace Quotient