aboutsummaryrefslogtreecommitdiff
path: root/lib/events/roomtombstoneevent.h
blob: 95743e32b08cd49e35ecb1c8396a7dcab1fbb1b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// SPDX-FileCopyrightText: 2019 Kitsune Ral <Kitsune-Ral@users.sf.net>
// SPDX-License-Identifier: LGPL-2.1-or-later

#pragma once

#include "stateevent.h"

namespace Quotient {
class QUOTIENT_API RoomTombstoneEvent : public StateEventBase {
public:
    QUO_EVENT(RoomTombstoneEvent, "m.room.tombstone")

    using StateEventBase::StateEventBase;

    QString serverMessage() const;
    QString successorRoomId() const;
};
} // namespace Quotient