From 9fa314846cd139f6f33b51b91f65e188c54c42f8 Mon Sep 17 00:00:00 2001 From: sebaszm Date: Mon, 8 Apr 2024 16:56:45 +0200 Subject: [PATCH] add Context to Join --- interfaces/IMessenger.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/interfaces/IMessenger.h b/interfaces/IMessenger.h index 4e5ac4e3..cc4db19f 100644 --- a/interfaces/IMessenger.h +++ b/interfaces/IMessenger.h @@ -127,8 +127,9 @@ namespace Exchange { // @retval ERROR_ILLEGAL_STATE: User name is already taken (i.e. the user has already joined the room) // @retval ERROR_BAD_REQUEST: User name or room name is invalid // @retval ERROR_PRIVILEGED_REQUEST Room security errors - virtual Core::hresult Join(const string& room, const string& user, const security secure /* @optional */, - IStringIterator* const acl /* @optional */, string& roomId /* @out */) = 0; + virtual Core::hresult Join(const Core::JSONRPC::Context& context, const string& room, const string& user, + const security secure /* @optional */, IStringIterator* const acl /* @optional */, + string& roomId /* @out */) = 0; // @brief Leaves a messaging room // @details The room ID becomes invalid after this call.