package com.tencent.mm.plugin.priority;

import com.tencent.matrix.trace.core.AppMethodBeat;
import com.tencent.mm.kernel.g;
import com.tencent.mm.plugin.comm.a.b;
import com.tencent.mm.plugin.messenger.foundation.a.a.h;
import com.tencent.mm.plugin.messenger.foundation.a.a.h.a;
import com.tencent.mm.plugin.messenger.foundation.a.a.h.c;
import com.tencent.mm.storage.bi;

class PluginPriority$1 implements a {
    final /* synthetic */ PluginPriority pgh;

    PluginPriority$1(PluginPriority pluginPriority) {
        this.pgh = pluginPriority;
    }

    public final void a(h hVar, c cVar) {
        AppMethodBeat.i(54866);
        if (cVar.oqJ.equals("insert")) {
            for (int i = 0; i < cVar.oqK.size(); i++) {
                Object obj;
                bi biVar = (bi) cVar.oqK.get(i);
                if (biVar.field_isSend == 1 || !biVar.drE()) {
                    obj = null;
                } else {
                    obj = 1;
                }
                if (obj != null) {
                    ((b) g.K(b.class)).U(biVar);
                }
            }
        }
        AppMethodBeat.o(54866);
    }
}
