MCPcopy Index your code
hub / github.com/chartbrew/chartbrew / leaveConversation

Method leaveConversation

client/src/modules/socketClient.js:151–156  ·  view source on GitHub ↗

* Leave a conversation room * @param {number} conversationId - Conversation ID

(conversationId)

Source from the content-addressed store, hash-verified

149 * @param {number} conversationId - Conversation ID
150 */
151 leaveConversation(conversationId) {
152 if (!this.socket) return;
153
154 this.socket.emit("leave-conversation", { conversationId });
155 this.conversationRooms.delete(conversationId);
156 }
157
158 /**
159 * Add event listener

Callers 1

AiModalFunction · 0.80

Calls 1

deleteMethod · 0.45

Tested by

no test coverage detected