CarrotChat v2.8.80.240429版本的 MD5 值为:fdf98761f01e715a89df24b85b0d206e

以下内容为反编译后的 l2.java 源代码,内容仅作参考


package y0;

import com.asim.protobuf.Akeychat;
import com.huawei.hms.support.hianalytics.HiAnalyticsConstant;
import org.jivesoftware.smack.packet.IQ;
import org.jivesoftware.smack.provider.IQProvider;
import org.xmlpull.v1.XmlPullParser;

public class l2 extends IQ {

    private String f48486a;

    private String f48487b;

    private boolean f48488c;

    private long f48489d;

    private Akeychat.MucReviewCloseResponse f48490e;

    public static class a extends IQProvider {
        @Override
        public IQ parse(XmlPullParser xmlPullParser, int i10) throws Exception {
            l2 l2Var = new l2();
            boolean z10 = false;
            while (!z10) {
                int next = xmlPullParser.next();
                if (next == 4) {
                    l2Var.parseResults(xmlPullParser);
                } else if (next == 3 && xmlPullParser.getName().equals("mucreview")) {
                    z10 = true;
                }
            }
            return l2Var;
        }
    }

    public l2(String str, long j10) {
        super("mucreview", "http://akey.im/protocol/xmpp/iq/mucreview#close");
        this.f48486a = str;
        this.f48489d = j10;
        this.f48488c = true;
        setType(IQ.Type.set);
        setTo(ak.im.sdk.manager.f1.getInstance().getServer().getXmppDomain());
    }

    @Override
    protected IQ.IQChildElementXmlStringBuilder getIQChildElementBuilder(IQ.IQChildElementXmlStringBuilder iQChildElementXmlStringBuilder) {
        iQChildElementXmlStringBuilder.append(">");
        if (this.f48488c) {
            Akeychat.MucReviewCloseRequest.b newBuilder = Akeychat.MucReviewCloseRequest.newBuilder();
            newBuilder.setMucroomname(this.f48486a);
            newBuilder.setMucReviewId(this.f48489d);
            iQChildElementXmlStringBuilder.optElement(HiAnalyticsConstant.Direction.REQUEST, e.e.encodeBytes(newBuilder.build().toByteArray()));
        } else {
            iQChildElementXmlStringBuilder.optElement(HiAnalyticsConstant.Direction.REQUEST, this.f48487b);
        }
        return iQChildElementXmlStringBuilder;
    }

    public Akeychat.MucReviewCloseResponse getmResponse() {
        return this.f48490e;
    }

    public String getmResult() {
        return this.f48487b;
    }

    protected void parseResults(XmlPullParser xmlPullParser) throws Exception {
        try {
            String text = xmlPullParser.getText();
            this.f48487b = text;
            this.f48490e = Akeychat.MucReviewCloseResponse.parseFrom(e.e.decode(text));
        } catch (Exception e10) {
            e10.printStackTrace();
        }
    }

    public l2() {
        super("mucreview", "http://akey.im/protocol/xmpp/iq/mucreview#close");
    }
}