MAM.java (652B)
1 package eu.siacs.compliance.tests; 2 3 import rocks.xmpp.core.session.XmppClient; 4 5 import java.util.Arrays; 6 import java.util.Collection; 7 import java.util.List; 8 9 public class MAM extends AbstractDiscoTest { 10 11 public static final List<String> NAMESPACES = Arrays.asList("urn:xmpp:mam:0","urn:xmpp:mam:1","urn:xmpp:mam:2"); 12 13 public MAM(XmppClient client) { 14 super(client); 15 } 16 17 @Override 18 List<String> getNamespaces() { 19 return NAMESPACES; 20 } 21 22 @Override 23 boolean checkOnServer() { 24 return false; 25 } 26 27 28 @Override 29 public String getName() { 30 return "XEP-0313: Message Archive Management"; 31 } 32 }