From be56723cce4cd60ddc144ebe6ac20607675b3006 Mon Sep 17 00:00:00 2001 From: chenqiyang <1406175257@qq.com> Date: 星期三, 17 七月 2024 09:33:38 +0800 Subject: [PATCH] 更新sdk --- Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/lime.framework/Headers/lime.hpp | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/lime.framework/Headers/lime.hpp b/Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/lime.framework/Headers/lime.hpp index 3eb5c16..6ab9512 100755 --- a/Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/lime.framework/Headers/lime.hpp +++ b/Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/lime.framework/Headers/lime.hpp @@ -350,6 +350,17 @@ void delete_peerDevice(const std::string &peerDeviceId); /** + * @brief Stale all sessions between localDeviceId and peerDevice. + * If peerDevice keep using this session to encrypt and we decrypt with success, the session will be reactivated + * but to encrypt a message to this peerDevice, a new session will be created. + * If no session is active between the given device, this call has no effect + * + * @param[in] localDeviceId Identify the local user account, it must be unique and is also be used as Id on the X3DH key server, it shall be the GRUU + * @param[in] peerDeviceId The device Id of peer, shall be its GRUU + */ + void stale_sessions(const std::string &localDeviceId, const std::string &peerDeviceId); + + /** * @brief Set the X3DH key server URL for this identified user * * @param[in] localDeviceId Identify the local user account, it must be unique and is also be used as Id on the X3DH key server, it shall be the GRUU -- Gitblit v1.8.0