CarrotChat v2.8.80.240429版本的 MD5 值为:fdf98761f01e715a89df24b85b0d206e
以下内容为反编译后的 s1.java 源代码,内容仅作参考
package y0;
import ak.im.sdk.manager.bf;
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 s1 extends IQ {
private final String f48793a;
public static class a extends IQProvider {
@Override
public IQ parse(XmlPullParser xmlPullParser, int i10) throws Exception {
if (xmlPullParser.getEventType() == 2) {
s1 s1Var = new s1();
IQ.Type fromString = IQ.Type.fromString(xmlPullParser.getAttributeValue("", "type"));
if (fromString != null) {
try {
s1Var.setType(fromString);
} catch (NumberFormatException unused) {
}
}
return s1Var;
}
throw new RuntimeException("Parser not in proper position, or bad XML.");
}
}
public s1() {
super("joinallmucroom", "http://akey.im/protocol/xmpp/iq/joinallmucroom");
this.f48793a = "JoinAllMucroomExtension";
setType(IQ.Type.get);
setTo(ak.im.sdk.manager.f1.getInstance().getServer().getXmppDomain());
setFrom(bf.getInstance().getUserMe().getJID());
}
@Override
protected IQ.IQChildElementXmlStringBuilder getIQChildElementBuilder(IQ.IQChildElementXmlStringBuilder iQChildElementXmlStringBuilder) {
iQChildElementXmlStringBuilder.append(">");
iQChildElementXmlStringBuilder.optElement(HiAnalyticsConstant.Direction.REQUEST, "");
return iQChildElementXmlStringBuilder;
}
}