updateChatMuteStatus method

  1. @override
dynamic updateChatMuteStatus(
  1. String jid,
  2. bool muteStatus
)
override

This method is used to update the chat mute status.

Implementation

@override
updateChatMuteStatus(String jid, bool muteStatus) async {
  try {
    await mirrorFlyMethodChannel.invokeMethod(
        'updateChatMuteStatus', {"jid": jid, "mute_status": muteStatus});
  } on PlatformException catch (e) {
    LogMessage.d("Platform Exception =", " $e");
    rethrow;
  } on Exception catch (error) {
    LogMessage.d("Exception ", " $error");
    rethrow;
  }
}