aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAlexey Rusakov <Kitsune-Ral@users.sf.net>2022-02-11 14:22:57 +0100
committerAlexey Rusakov <Kitsune-Ral@users.sf.net>2022-02-11 14:23:26 +0100
commit73623b69477352f901aa0d02a667bd2438a91491 (patch)
tree259ccbc7b85af52cf18fb3fd3f25504f91f2332d /lib
parent350f40d07943a32319182bac6a21adf456642075 (diff)
downloadlibquotient-73623b69477352f901aa0d02a667bd2438a91491.tar.gz
libquotient-73623b69477352f901aa0d02a667bd2438a91491.zip
EventRelation: defer to non-deprecated symbols
Diffstat (limited to 'lib')
-rw-r--r--lib/events/roommessageevent.h4
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)