blob: 080d269c20ec53bfc31906651b4b1efc0d79a09d (
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 fromJson<QString>(contentJson()["body"_ls]);
}
QString RoomTombstoneEvent::successorRoomId() const
{
return fromJson<QString>(contentJson()["replacement_room"_ls]);
}
|