Skip to content

Commit 6841c16

Browse files
committed
merge create/delete chatroomconversation to create/delete conversation
1 parent e6464aa commit 6841c16

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

index.js

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1086,24 +1086,6 @@ export default class JMessage {
10861086
JMessageModule.getChatRoomConversationList(callback);
10871087
}
10881088

1089-
/**
1090-
* 删除聊天室会话,同时删除本地相关缓存文件。成功返回 true,失败返回 false
1091-
* @param {String} roomId
1092-
* @param {function} callback = function(bool)
1093-
*/
1094-
static deleteChatRoomConversation(roomId, callback) {
1095-
JMessageModule.deleteChatRoomConversation(roomId, callback);
1096-
}
1097-
1098-
/**
1099-
* 创建聊天室会话,如果本地已存在,则不会重新创建,直接返回该会话
1100-
* @param {String} roomId
1101-
* @param {function} callback = function({Conversation})
1102-
*/
1103-
static createChatRoomConversation(roomId, callback) {
1104-
JMessageModule.createChatRoomConversation(roomId, callback);
1105-
}
1106-
11071089
/**
11081090
* 接收聊天室消息
11091091
* @param {function} listener = function([{Message}])

0 commit comments

Comments
 (0)