Skip to content

Commit 41911a4

Browse files
committed
fix getChatRoomConversationList params
1 parent 2b38e5c commit 41911a4

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

ios/RCTJMessageModule/RCTJMessageModule.m

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2407,11 +2407,10 @@ - (JMSGOptionalContent *)convertDicToJMSGOptionalContent:(NSDictionary *)dic {
24072407
*
24082408
*/
24092409
//static getChatRoomConversationList(callback) {
2410-
RCT_EXPORT_METHOD(getChatRoomConversationList:(RCTResponseSenderBlock)successCallback
2411-
failCallBack:(RCTResponseSenderBlock)failCallback) {
2410+
RCT_EXPORT_METHOD(getChatRoomConversationList:(RCTResponseSenderBlock)successCallback) {
24122411
[JMSGConversation allChatRoomConversation:^(id resultObject, NSError *error) {
24132412
if (error) {
2414-
failCallback(@[[error errorToDictionary]]);
2413+
successCallback(@[@[]]);
24152414
return;
24162415
}
24172416

0 commit comments

Comments
 (0)