aboutsummaryrefslogtreecommitdiff
path: root/include/olm/olm.h
diff options
context:
space:
mode:
authorRichard van der Hoff <github@rvanderhoff.org.uk>2016-09-05 10:38:41 +0100
committerGitHub <noreply@github.com>2016-09-05 10:38:41 +0100
commit2aad4cfa860e33228372d525b4bc6a8bcdfbb8f6 (patch)
tree752c7e1c6d806acf7804b3728aecf30088c3d7d9 /include/olm/olm.h
parentfee1748c60f48fbe3a243a36fcfcc7e8be6e4a78 (diff)
parent2e9021c2e73786e9045c0634c43efa86f18ac8de (diff)
Merge pull request #15 from matrix-org/rav/has_received_message
OlmSession.has_received_message
Diffstat (limited to 'include/olm/olm.h')
-rw-r--r--include/olm/olm.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/olm/olm.h b/include/olm/olm.h
index 0886fa9..81b6602 100644
--- a/include/olm/olm.h
+++ b/include/olm/olm.h
@@ -300,6 +300,10 @@ size_t olm_session_id(
void * id, size_t id_length
);
+int olm_session_has_received_message(
+ OlmSession *session
+);
+
/** Checks if the PRE_KEY message is for this in-bound session. This can happen
* if multiple messages are sent to this account before this account sends a
* message in reply. Returns olm_error() on failure. If the base64