forked from Juby210/discord-jadx
30 lines
1.2 KiB
Java
30 lines
1.2 KiB
Java
package com.discord.widgets.stage;
|
|
|
|
import com.discord.api.channel.Channel;
|
|
import com.discord.api.voice.state.VoiceState;
|
|
import d0.z.d.m;
|
|
import d0.z.d.o;
|
|
import kotlin.jvm.functions.Function1;
|
|
/* compiled from: StageChannelJoinHelper.kt */
|
|
public final class StageChannelJoinHelper$connectToStage$2$channelVoiceStateUserIds$1 extends o implements Function1<VoiceState, Boolean> {
|
|
public final /* synthetic */ Channel $channel;
|
|
|
|
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
|
public StageChannelJoinHelper$connectToStage$2$channelVoiceStateUserIds$1(Channel channel) {
|
|
super(1);
|
|
this.$channel = channel;
|
|
}
|
|
|
|
/* Return type fixed from 'java.lang.Object' to match base method */
|
|
/* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */
|
|
@Override // kotlin.jvm.functions.Function1
|
|
public /* bridge */ /* synthetic */ Boolean invoke(VoiceState voiceState) {
|
|
return Boolean.valueOf(invoke(voiceState));
|
|
}
|
|
|
|
public final boolean invoke(VoiceState voiceState) {
|
|
m.checkNotNullParameter(voiceState, "it");
|
|
Long a = voiceState.a();
|
|
return a != null && a.longValue() == this.$channel.h();
|
|
}
|
|
}
|