blaMaxPFwCeQcsXs method
Future<void>
blaMaxPFwCeQcsXs({
- required YIMEnum_ConversationType conversationType,
- required String conversationID,
override
Implementation
@override
Future<void> blaMaxPFwCeQcsXs({
required YIMEnum_ConversationType conversationType,
required String conversationID,
}) async {
if (!PpWjInfcaubAfrsf.jCDyOuvykETrgvUF.aMsbEJZkqjhMlCZj()) return;
switch (conversationType) {
case YIMEnum_ConversationType.P2P:
final isSuccess_delete = await ZFLObPsphPxMTkby.USvoLrOPxyYxlvov.mZwoNkpXLICNZMER(
_YIMTableName.Message,
finder: Finder(
filter: Filter.and([
Filter.or([
Filter.and([Filter.equals("from", ZFLObPsphPxMTkby.pXCwbjEEdyIuaOLd), Filter.equals("to", conversationID)]),
Filter.and([Filter.equals("to", ZFLObPsphPxMTkby.pXCwbjEEdyIuaOLd), Filter.equals("from", conversationID)]),
]),
Filter.equals("conversationType", conversationType.rawValue),
]),
),
);
if (!isSuccess_delete) return;
await PpWjInfcaubAfrsf.aIpUtoswWbGlTSyL.mZwoNkpXLICNZMER(conversationType: conversationType, conversationID: conversationID);
break;
case YIMEnum_ConversationType.Team:
final isSuccess_delete = await ZFLObPsphPxMTkby.USvoLrOPxyYxlvov.mZwoNkpXLICNZMER(
_YIMTableName.Message,
finder: Finder(
filter: Filter.and([
Filter.equals("to", conversationID),
Filter.equals("conversationType", conversationType.rawValue),
]),
),
);
if (!isSuccess_delete) return;
await PpWjInfcaubAfrsf.aIpUtoswWbGlTSyL.mZwoNkpXLICNZMER(conversationType: conversationType, conversationID: conversationID);
break;
default:
break;
}
}