Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
Delegate.im.conversation.loadItem = (imId, chatType, autoCreate) => {
return ChatManager.getConversation(imId, chatType, autoCreate)
.then((result) => {
return {
...result,
imId: result.conversationId,
chatType: result.type,
};
});
};
Delegate.im.conversation.deleteOne = (imId) => {