29 lines
764 B
Java
29 lines
764 B
Java
package c.a.a0.a.a;
|
|
|
|
import com.discord.api.channel.Channel;
|
|
import com.discord.api.role.GuildRole;
|
|
import j0.k.b;
|
|
/* compiled from: lambda */
|
|
public final /* synthetic */ class s implements b {
|
|
public final /* synthetic */ Channel i;
|
|
|
|
public /* synthetic */ s(Channel channel) {
|
|
this.i = channel;
|
|
}
|
|
|
|
@Override // j0.k.b
|
|
public final Object call(Object obj) {
|
|
Channel channel = this.i;
|
|
GuildRole guildRole = (GuildRole) obj;
|
|
if (channel.s() == null) {
|
|
return Boolean.TRUE;
|
|
}
|
|
for (int i = 0; i < channel.s().size(); i++) {
|
|
if (channel.s().get(i).e() == guildRole.getId()) {
|
|
return Boolean.FALSE;
|
|
}
|
|
}
|
|
return Boolean.TRUE;
|
|
}
|
|
}
|