diff options
author | Alexey Rusakov <Kitsune-Ral@users.sf.net> | 2022-02-11 14:22:57 +0100 |
---|---|---|
committer | Alexey Rusakov <Kitsune-Ral@users.sf.net> | 2022-02-11 14:23:26 +0100 |
commit | 73623b69477352f901aa0d02a667bd2438a91491 (patch) | |
tree | 259ccbc7b85af52cf18fb3fd3f25504f91f2332d | |
parent | 350f40d07943a32319182bac6a21adf456642075 (diff) | |
download | libquotient-73623b69477352f901aa0d02a667bd2438a91491.tar.gz libquotient-73623b69477352f901aa0d02a667bd2438a91491.zip |
EventRelation: defer to non-deprecated symbols
-rw-r--r-- | lib/events/roommessageevent.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/events/roommessageevent.h b/lib/events/roommessageevent.h index 44ef05fb..03a51328 100644 --- a/lib/events/roommessageevent.h +++ b/lib/events/roommessageevent.h @@ -101,8 +101,8 @@ namespace EventContent { struct [[deprecated("Use Quotient::EventRelation instead")]] RelatesTo : EventRelation { - static constexpr auto ReplyTypeId() { return Reply(); } - static constexpr auto ReplacementTypeId() { return Replacement(); } + static constexpr auto ReplyTypeId() { return ReplyType; } + static constexpr auto ReplacementTypeId() { return ReplacementType; } }; [[deprecated("Use EventRelation::replyTo() instead")]] inline auto replyTo(QString eventId) |