xmpp-compliance-tester

XMPP Compliance Tester, forked from github.com/iNPUTmice/ComplianceTester
git clone https://git.in0rdr.ch/xmpp-compliance-tester.git
Log | Files | Refs | Pull requests |Archive | README | LICENSE

OfflineStorage.java (560B)


      1 package eu.siacs.compliance.tests;
      2 
      3 import rocks.xmpp.core.session.XmppClient;
      4 
      5 import java.util.Arrays;
      6 import java.util.List;
      7 
      8 public class OfflineStorage extends AbstractDiscoTest {
      9 
     10     public OfflineStorage(XmppClient client) {
     11         super(client);
     12     }
     13 
     14     @Override
     15     public String getName() {
     16         return "XEP-0160: Best Practices for Handling Offline Messages";
     17     }
     18 
     19     @Override
     20     List<String> getNamespaces() {
     21         return Arrays.asList("msgoffline");
     22     }
     23 
     24     @Override
     25     boolean checkOnServer() {
     26         return true;
     27     }
     28 }