aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMark Haines <mark.haines@matrix.org>2015-07-08 11:16:00 +0100
committerMark Haines <mark.haines@matrix.org>2015-07-08 11:16:00 +0100
commit974e0984bd0d618093669780a75739d4b02fd3b2 (patch)
tree637841d1bb9cf3fc4e3f76af0253022afc29c4e6 /src
parent3a382aec59937b086c37f039f1b011f253e80e97 (diff)
Update the javascript bindings and demo to match the format of the identity key JSON
Diffstat (limited to 'src')
-rw-r--r--src/account.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/account.cpp b/src/account.cpp
index 1ca3b13..54edf6e 100644
--- a/src/account.cpp
+++ b/src/account.cpp
@@ -170,8 +170,8 @@ std::size_t olm::Account::get_identity_json_length(
std::size_t olm::Account::get_identity_json(
std::uint8_t const * user_id, std::size_t user_id_length,
std::uint8_t const * device_id, std::size_t device_id_length,
- std::uint64_t valid_until_ts,
std::uint64_t valid_after_ts,
+ std::uint64_t valid_until_ts,
std::uint8_t * identity_json, std::size_t identity_json_length
) {