Sometimes Christians need to take sides. I believe that Jesus wants us to publicly condemn movements that are contrary to the gospel. In this case Jesus openly praised the church at Ephesus because they condemned the Nicolaitan doctrine. The Nicolaitans mostly likely were a group of supposed Christians who flaunted their Christian liberty by engaging in immorality.