discord-jadx/app/src/main/java/com/discord/utilities/voice/VoiceEngineForegroundService$ackStageInvite$2.java
Juby210 02b39b5eaf
Enable replacing const values in jadx
Tracking changes should be much easier now.
2021-08-10 00:50:52 +02:00

36 lines
1.5 KiB
Java

package com.discord.utilities.voice;
import com.discord.utilities.analytics.AnalyticsTracker;
import com.discord.widgets.stage.StageChannelNotifications;
import d0.z.d.o;
import kotlin.Unit;
import kotlin.jvm.functions.Function1;
/* compiled from: VoiceEngineForegroundService.kt */
public final class VoiceEngineForegroundService$ackStageInvite$2 extends o implements Function1<Void, Unit> {
public final /* synthetic */ boolean $accept;
public final /* synthetic */ long $channelId;
public final /* synthetic */ VoiceEngineForegroundService this$0;
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public VoiceEngineForegroundService$ackStageInvite$2(VoiceEngineForegroundService voiceEngineForegroundService, boolean z2, long j) {
super(1);
this.this$0 = voiceEngineForegroundService;
this.$accept = z2;
this.$channelId = j;
}
/* 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(Void r1) {
invoke(r1);
return Unit.a;
}
public final void invoke(Void r3) {
if (this.$accept) {
AnalyticsTracker.INSTANCE.promotedToSpeaker(this.$channelId);
}
StageChannelNotifications.Notifications.InvitedToSpeak.INSTANCE.cancel(this.this$0);
}
}