Skip to content

Commit

Permalink
add Context to Join
Browse files Browse the repository at this point in the history
  • Loading branch information
sebaszm committed Apr 8, 2024
1 parent 95ad980 commit 9fa3148
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions interfaces/IMessenger.h
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 9fa3148

Please sign in to comment.