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.loadMessage = (params) => {
const {imId, chatType, lastMessage, count} = params;
return ChatManager.loadMessages(
imId,
chatType,
lastMessage ? lastMessage.messageId : undefined,
count,
IMConstant.MessageSearchDirection.up
);
};
Delegate.im.conversation.deleteMessage = (params) => {