Skip to content

Commit 9249ed7

Browse files
guangyaoguangyao
authored andcommitted
更正删除方法
1 parent d0d8046 commit 9249ed7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ios/RNNeteaseIm/RNNeteaseIm/RNNeteaseIm.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ - (dispatch_queue_t)methodQueue
343343
}
344344
//删除会话内容
345345
RCT_EXPORT_METHOD(deleteMessage:(nonnull NSString *)messageId){
346-
[[ConversationViewController initWithConversationViewController]delete:messageId];
346+
[[ConversationViewController initWithConversationViewController]deleteMsg:messageId];
347347
}
348348
//清空聊天记录
349349
RCT_EXPORT_METHOD(clearMessage:(nonnull NSString *)sessionId sessionId:(nonnull NSString *)type){

0 commit comments

Comments
 (0)