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

#include "roomtombstoneevent.h"

using namespace Quotient;

QString RoomTombstoneEvent::serverMessage() const
{
    return contentPart<QString>("body"_ls);
}

QString RoomTombstoneEvent::successorRoomId() const
{
    return contentPart<QString>("replacement_room"_ls);
}