diff options
author | Richard van der Hoff <github@rvanderhoff.org.uk> | 2016-09-05 10:38:41 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-05 10:38:41 +0100 |
commit | 2aad4cfa860e33228372d525b4bc6a8bcdfbb8f6 (patch) | |
tree | 752c7e1c6d806acf7804b3728aecf30088c3d7d9 /src | |
parent | fee1748c60f48fbe3a243a36fcfcc7e8be6e4a78 (diff) | |
parent | 2e9021c2e73786e9045c0634c43efa86f18ac8de (diff) |
Merge pull request #15 from matrix-org/rav/has_received_message
OlmSession.has_received_message
Diffstat (limited to 'src')
-rw-r--r-- | src/olm.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/olm.cpp b/src/olm.cpp index 10e00fa..3fe9c5e 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 |