43 lines
2 KiB
Java
43 lines
2 KiB
Java
package com.discord.utilities.channel;
|
|
|
|
import com.airbnb.lottie.parser.AnimatableValueParser;
|
|
import com.discord.api.channel.Channel;
|
|
import com.discord.stores.SelectedChannelAnalyticsLocation;
|
|
import d0.z.d.m;
|
|
import d0.z.d.o;
|
|
import kotlin.Unit;
|
|
import kotlin.jvm.functions.Function1;
|
|
/* compiled from: ChannelSelector.kt */
|
|
public final class ChannelSelector$selectChannel$2 extends o implements Function1<Channel, Unit> {
|
|
public final /* synthetic */ SelectedChannelAnalyticsLocation $analyticsLocation;
|
|
public final /* synthetic */ long $channelId;
|
|
public final /* synthetic */ long $guildId;
|
|
public final /* synthetic */ Long $peekParent;
|
|
public final /* synthetic */ ChannelSelector this$0;
|
|
|
|
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
|
public ChannelSelector$selectChannel$2(ChannelSelector channelSelector, long j, long j2, Long l, SelectedChannelAnalyticsLocation selectedChannelAnalyticsLocation) {
|
|
super(1);
|
|
this.this$0 = channelSelector;
|
|
this.$guildId = j;
|
|
this.$channelId = j2;
|
|
this.$peekParent = l;
|
|
this.$analyticsLocation = selectedChannelAnalyticsLocation;
|
|
}
|
|
|
|
/* 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 */ Unit invoke(Channel channel) {
|
|
invoke(channel);
|
|
return Unit.a;
|
|
}
|
|
|
|
public final void invoke(Channel channel) {
|
|
m.checkNotNullExpressionValue(channel, "channel");
|
|
ChannelSelector.access$gotoChannel(this.this$0, this.$guildId, AnimatableValueParser.l1(channel) ? this.$guildId : this.$channelId, this.$peekParent, this.$analyticsLocation);
|
|
if (AnimatableValueParser.l1(channel)) {
|
|
this.this$0.getStream().getVoiceChannelSelected$app_productionBetaRelease().selectVoiceChannel(this.$channelId);
|
|
}
|
|
}
|
|
}
|