aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/olm.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/olm.cpp b/src/olm.cpp
index 682a84c..7f68ad0 100644
--- a/src/olm.cpp
+++ b/src/olm.cpp
@@ -529,6 +529,12 @@ size_t olm_session_id(
}
+int olm_session_has_received_message(
+ OlmSession * session
+) {
+ return from_c(session)->received_message;
+}
+
size_t olm_matches_inbound_session(
OlmSession * session,
void * one_time_key_message, size_t message_length