discord-jadx/app/src/main/java/com/discord/gateway/GatewaySocket$callConnect$1...

36 lines
1.5 KiB
Java

package com.discord.gateway;
import c.d.b.a.a;
import com.discord.gateway.GatewaySocket;
import com.discord.gateway.io.Outgoing;
import com.discord.gateway.io.OutgoingPayload;
import com.discord.gateway.opcodes.Opcode;
import com.discord.utilities.logging.Logger;
import d0.z.d.o;
import kotlin.Unit;
import kotlin.jvm.functions.Function0;
/* compiled from: GatewaySocket.kt */
public final class GatewaySocket$callConnect$1 extends o implements Function0<Unit> {
public final /* synthetic */ long $channelId;
public final /* synthetic */ GatewaySocket this$0;
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public GatewaySocket$callConnect$1(GatewaySocket gatewaySocket, long j) {
super(0);
this.this$0 = gatewaySocket;
this.$channelId = j;
}
@Override // kotlin.jvm.functions.Function0
/* renamed from: invoke */
public final void mo1invoke() {
GatewaySocket.Companion companion = GatewaySocket.Companion;
Logger access$getLogger$p = GatewaySocket.access$getLogger$p(this.this$0);
StringBuilder K = a.K("Sending call connect sync on channel id: ");
K.append(this.$channelId);
K.append('.');
GatewaySocket.Companion.log$default(companion, access$getLogger$p, K.toString(), false, 2, null);
GatewaySocket.send$default(this.this$0, new Outgoing(Opcode.CALL_CONNECT, new OutgoingPayload.CallConnect(this.$channelId)), false, null, 6, null);
}
}