Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
export function setup() {
setup_parse_action();
setup_display_action();
setup_abstract_action();
setup_moreboard_action();
setup_send_action();
setup_im_conversation_delegate();
setup_im_group_delegate();
// 代理设置
Delegate.config.messageType.text = EMSDK.IMConstant.MessageType.text;
Delegate.config.messageType.voice = EMSDK.IMConstant.MessageType.voice;
Delegate.config.messageType.system = EMSDK.IMConstant.MessageType.command;
}
export function setup() {
setup_parse_action();
setup_display_action();
setup_abstract_action();
setup_moreboard_action();
setup_send_action();
setup_im_conversation_delegate();
setup_im_group_delegate();
// 代理设置
Delegate.config.messageType.text = EMSDK.IMConstant.MessageType.text;
Delegate.config.messageType.voice = EMSDK.IMConstant.MessageType.voice;
Delegate.config.messageType.system = EMSDK.IMConstant.MessageType.command;
}