File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed
im_flutter_sdk/lib/src/managers Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -415,13 +415,12 @@ class EMChatManager {
415415 ///
416416 /// **Throws** 如果有异常会在这里抛出,包含错误码和错误描述,详见 [EMError] 。
417417 /// ~end
418- Future <bool > sendMessageReadAck (EMMessage message) async {
418+ Future <void > sendMessageReadAck (EMMessage message) async {
419419 try {
420420 Map req = {"to" : message.from, "msgId" : message.msgId};
421421 Map result = await Client .instance.chatManager
422422 .callNativeMethod (ChatMethodKeys .ackMessageRead, req);
423423 EMError .hasErrorFromResult (result);
424- return result.boolValue (ChatMethodKeys .ackMessageRead);
425424 } catch (e) {
426425 rethrow ;
427426 }
Original file line number Diff line number Diff line change @@ -256,7 +256,6 @@ class EMChatRoomManager {
256256
257257 Future <void > joinChatRoom (
258258 String roomId, {
259- @Deprecated ('' ) bool ? leaveOther,
260259 bool leaveOtherRooms = false ,
261260 String ? ext,
262261 }) async {
You can’t perform that action at this time.
0 commit comments