@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) {