package com.tencent.mm.chatroom.ui;

import com.tencent.matrix.trace.core.AppMethodBeat;
import com.tencent.mm.g.a.mc;
import com.tencent.mm.kernel.g;
import com.tencent.mm.plugin.messenger.foundation.a.j;
import com.tencent.mm.sdk.b.b;
import com.tencent.mm.sdk.b.c;
import com.tencent.mm.ui.base.h;

class RoomCardUI$3 extends c<mc> {
    final /* synthetic */ RoomCardUI ekm;

    RoomCardUI$3(RoomCardUI roomCardUI) {
        this.ekm = roomCardUI;
        AppMethodBeat.i(104147);
        this.xxI = mc.class.getName().hashCode();
        AppMethodBeat.o(104147);
    }

    public final /* synthetic */ boolean a(b bVar) {
        AppMethodBeat.i(104148);
        mc mcVar = (mc) bVar;
        String str = mcVar.cHU.cHV;
        String str2 = mcVar.cHU.cHW;
        int i = mcVar.cHU.ret;
        if (i != 0 && str2 != null) {
            h.b(this.ekm, str2, str, true);
            if (RoomCardUI.g(this.ekm) != null) {
                ((j) g.K(j.class)).XL().d(RoomCardUI.g(this.ekm));
            }
        } else if (i == 0) {
            if (RoomCardUI.h(this.ekm)) {
                RoomCardUI.a(this.ekm, RoomCardUI.b(this.ekm).getText().toString());
            } else {
                RoomCardUI.i(this.ekm);
            }
        }
        if (!(RoomCardUI.h(this.ekm) || RoomCardUI.j(this.ekm) == null || !RoomCardUI.j(this.ekm).isShowing())) {
            RoomCardUI.j(this.ekm).dismiss();
        }
        AppMethodBeat.o(104148);
        return false;
    }
}
