Projects tigase _server server-core Commits 7baf25d3
ctrl k
  • src/main/java/tigase/vhosts/VHostItemImpl.java
    ■ ■ ■ ■ ■
    skipped 19 lines
    20 20  import tigase.annotations.TigaseDeprecated;
    21 21  import tigase.db.comp.RepositoryItemAbstract;
    22 22  import tigase.server.Command;
    23  -import tigase.server.DataForm;
    24 23  import tigase.server.Packet;
    25 24  import tigase.util.StringUtilities;
    26 25  import tigase.util.repository.DataTypes;
    skipped 243 lines
    270 269   } else {
    271 270   String[] values = Stream.concat(Stream.of("DEFAULT"), Arrays.stream(DomainFilterPolicy.valuesStr()))
    272 271   .toArray(String[]::new);
    273  - Command.addFieldValue(packet, DOMAIN_FILTER_POLICY_LABEL, domainFilter.toString(),
     272 + Command.addFieldValue(packet, DOMAIN_FILTER_POLICY_LABEL, domainFilter != null ? domainFilter.toString() : "",
    274 273   DOMAIN_FILTER_POLICY_LABEL, values, values);
    275 274   }
    276 275   Command.addFieldValue(packet, DOMAIN_FILTER_POLICY_DOMAINS_LABEL,
    skipped 1471 lines
Please wait...
Page is in error, reload to recover