summary refs log tree commit diff
diff options
context:
space:
mode:
authorCH Chethan Reddy <40890937+Chethan2k1@users.noreply.github.com>2020-08-30 16:32:28 +0530
committerCH Chethan Reddy <40890937+Chethan2k1@users.noreply.github.com>2020-08-30 16:32:28 +0530
commit9a76db85d5d18fd51b8ec2841553fea708e6014a (patch)
tree3f31c34474953bb66ffbc7b838f1daa497f66026
parentSmall Fixes (diff)
downloadnheko-9a76db85d5d18fd51b8ec2841553fea708e6014a.tar.xz
Change ReactionRealtesTo to RelatesTo
-rw-r--r--src/DeviceVerificationFlow.h2
-rw-r--r--src/Olm.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/DeviceVerificationFlow.h b/src/DeviceVerificationFlow.h
index 4c3e5171..6b2ab81f 100644
--- a/src/DeviceVerificationFlow.h
+++ b/src/DeviceVerificationFlow.h
@@ -127,5 +127,5 @@ private:
         std::optional<std::string> room_id;
         std::optional<std::string> event_id;
         TimelineModel *model_;
-        mtx::common::ReactionRelatesTo relation;
+        mtx::common::RelatesTo relation;
 };
diff --git a/src/Olm.cpp b/src/Olm.cpp
index 48439fa3..9e1a4ed9 100644
--- a/src/Olm.cpp
+++ b/src/Olm.cpp
@@ -211,7 +211,7 @@ encrypt_group_message(const std::string &room_id, const std::string &device_id,
 
         // relations shouldn't be encrypted...
         mtx::common::ReplyRelatesTo relation;
-        mtx::common::ReactionRelatesTo r_relation;
+        mtx::common::RelatesTo r_relation;
 
         if (body["content"].contains("m.relates_to") &&
             body["content"]["m.relates_to"].contains("m.in_reply_to")) {