Package com.sissi.context

Examples of com.sissi.context.JID.clone()


  @Override
  public boolean input(JIDContext context, Protocol protocol) {
    JID group = super.build(protocol.getTo());
    // From = MUC JID
    protocol.setFrom(group.clone().resource(super.ourRelation(context.jid(), group).name()));
    JIDs jids = this.mapping.mapping(group);
    return jids.isEmpty() ? this.writeAndReturn(context, protocol) : this.writeAndReturn(protocol, jids);
  }

  private boolean writeAndReturn(Protocol protocol, JIDs jids) {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.