| 1 | // SPDX-FileCopyrightText: 2019 Kitsune Ral <Kitsune-Ral@users.sf.net> |
|---|---|
| 2 | // SPDX-License-Identifier: LGPL-2.1-or-later |
| 3 | |
| 4 | #include "roomtombstoneevent.h" |
| 5 | |
| 6 | using namespace Quotient; |
| 7 | |
| 8 | QString RoomTombstoneEvent::serverMessage() const |
| 9 | { |
| 10 | return contentPart<QString>(key: "body"_ls); |
| 11 | } |
| 12 | |
| 13 | QString RoomTombstoneEvent::successorRoomId() const |
| 14 | { |
| 15 | return contentPart<QString>(key: "replacement_room"_ls); |
| 16 | } |
| 17 |