discord-jadx/app/src/main/java/com/discord/stores/StoreStageChannels$observeU...

31 lines
1.2 KiB
Java

package com.discord.stores;
import com.discord.api.channel.Channel;
import com.discord.widgets.stage.StageRoles;
import d0.z.d.o;
import kotlin.jvm.functions.Function0;
/* compiled from: StoreStageChannels.kt */
public final class StoreStageChannels$observeUserRoles$1 extends o implements Function0<StageRoles> {
public final /* synthetic */ long $channelId;
public final /* synthetic */ long $userId;
public final /* synthetic */ StoreStageChannels this$0;
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public StoreStageChannels$observeUserRoles$1(StoreStageChannels storeStageChannels, long j, long j2) {
super(0);
this.this$0 = storeStageChannels;
this.$channelId = j;
this.$userId = j2;
}
@Override // kotlin.jvm.functions.Function0
/* renamed from: invoke */
public final StageRoles mo1invoke() {
Channel channel = StoreStageChannels.access$getChannelsStore$p(this.this$0).getChannel(this.$channelId);
if (channel != null) {
return this.this$0.m12getUserRolesuOBN1zc(this.$userId, channel.h());
}
return null;
}
}