if (convCommand.hasTempConv() && convCommand.getTempConv()) { convType = Conversation.CONV_TYPE_TEMPORARY; } else if (convCommand.hasTransient() && convCommand.getTransient()) {
hash = (37 * hash) + TEMPCONV_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getTempConv());
private AVIMConversation parseConversation(AVIMClient client, Messages.ConvCommand convCommand) { if (null == client || null == convCommand) { return null; } boolean isTemp = convCommand.hasTempConv()? convCommand.getTempConv() : false; boolean isTransient = convCommand.hasTransient()? convCommand.getTransient() : false; int tempTTL = convCommand.hasTempConvTTL()?convCommand.getTempConvTTL() : 0; AVIMConversation conversation = client.getConversation(this.conversationId, isTransient, isTemp); conversation.setTemporaryExpiredat(System.currentTimeMillis()/1000 + tempTTL); return conversation; }
setTempConv(other.getTempConv());
result = result && (getTempConv() == other.getTempConv());