summary refs log tree commit diff
path: root/src/timeline/TimelineModel.h
diff options
context:
space:
mode:
authortrilene <trilene@runbox.com>2020-10-27 15:29:53 -0400
committertrilene <trilene@runbox.com>2020-10-27 15:29:53 -0400
commitd9ca5309ac0e5f25e0af6cc75a9b31e79a33d4d7 (patch)
treeecf31e7dde13cae5c4c24b256542b77dd31f6d79 /src/timeline/TimelineModel.h
parentSupport video calls (diff)
parentTranslated using Weblate (English) (diff)
downloadnheko-d9ca5309ac0e5f25e0af6cc75a9b31e79a33d4d7.tar.xz
Merge remote-tracking branch 'upstream/master' into webrtc-video
Diffstat (limited to 'src/timeline/TimelineModel.h')
-rw-r--r--src/timeline/TimelineModel.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/timeline/TimelineModel.h b/src/timeline/TimelineModel.h

index 3234a20c..e1fb9196 100644 --- a/src/timeline/TimelineModel.h +++ b/src/timeline/TimelineModel.h
@@ -264,6 +264,10 @@ public slots: } void setDecryptDescription(bool decrypt) { decryptDescription = decrypt; } void clearTimeline() { events.clearTimeline(); } + void receivedSessionKey(const std::string &session_key) + { + events.receivedSessionKey(session_key); + } QString roomName() const; QString roomTopic() const; @@ -297,12 +301,6 @@ signals: private: template<typename T> void sendEncryptedMessage(mtx::events::RoomEvent<T> msg, mtx::events::EventType eventType); - void handleClaimedKeys( - std::shared_ptr<StateKeeper> keeper, - const std::map<std::string, std::map<std::string, std::string>> &room_keys, - const std::map<std::string, std::map<std::string, DevicePublicKeys>> &pks, - const mtx::responses::ClaimKeys &res, - mtx::http::RequestErr err); void readEvent(const std::string &id); void setPaginationInProgress(const bool paginationInProgress);