discord-jadx/app/src/main/java/com/discord/stores/StoreGuilds$initClearCommun...

56 lines
2.5 KiB
Java

package com.discord.stores;
import com.discord.models.member.GuildMember;
import d0.z.d.m;
import d0.z.d.o;
import java.util.List;
import kotlin.Unit;
import kotlin.jvm.functions.Function0;
import kotlin.jvm.functions.Function1;
/* compiled from: StoreGuilds.kt */
public final class StoreGuilds$initClearCommunicationDisabledObserver$2 extends o implements Function1<List<? extends GuildMember>, Unit> {
public final /* synthetic */ StoreGuilds this$0;
/* compiled from: StoreGuilds.kt */
/* renamed from: com.discord.stores.StoreGuilds$initClearCommunicationDisabledObserver$2$1 reason: invalid class name */
public static final class AnonymousClass1 extends o implements Function0<Unit> {
public final /* synthetic */ List $members;
public final /* synthetic */ StoreGuilds$initClearCommunicationDisabledObserver$2 this$0;
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public AnonymousClass1(StoreGuilds$initClearCommunicationDisabledObserver$2 storeGuilds$initClearCommunicationDisabledObserver$2, List list) {
super(0);
this.this$0 = storeGuilds$initClearCommunicationDisabledObserver$2;
this.$members = list;
}
@Override // kotlin.jvm.functions.Function0
/* renamed from: invoke */
public final void mo1invoke() {
List<GuildMember> list = this.$members;
m.checkNotNullExpressionValue(list, "members");
for (GuildMember guildMember : list) {
StoreGuilds.access$handleGuildMemberCommunicationEnabledInternal(this.this$0.this$0, guildMember.getGuildId(), guildMember.getUserId());
}
}
}
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public StoreGuilds$initClearCommunicationDisabledObserver$2(StoreGuilds storeGuilds) {
super(1);
this.this$0 = storeGuilds;
}
/* 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(List<? extends GuildMember> list) {
invoke((List<GuildMember>) list);
return Unit.a;
}
public final void invoke(List<GuildMember> list) {
StoreGuilds.access$getDispatcher$p(this.this$0).schedule(new AnonymousClass1(this, list));
}
}