* @see com.sissi.pipeline.Input#input(com.sissi.context.JIDContext, com.sissi.protocol.Protocol)
*/
@Override
public boolean input(JIDContext context, Protocol protocol) {
UnBlock ub = protocol.cast(UnBlock.class);
return ub.unBlockAll() ? this.unblockAndReturn(context) : this.unblockAndReturn(context, ub.getItem());
}
private boolean unblockAndReturn(JIDContext context, List<BlockListItem> item) {
for (BlockListItem each : item) {
this.blockContext.unblock(context.jid(), super.build(each.getJid()));