44 lines
2.3 KiB
Java
44 lines
2.3 KiB
Java
package com.discord.stores;
|
|
|
|
import com.discord.models.message.Message;
|
|
import com.discord.stores.StoreMessagesLoader;
|
|
import d0.z.d.m;
|
|
import d0.z.d.o;
|
|
import java.util.List;
|
|
import kotlin.Unit;
|
|
import kotlin.jvm.functions.Function1;
|
|
/* compiled from: StoreMessagesLoader.kt */
|
|
public final class StoreMessagesLoader$tryLoadMessages$$inlined$apply$lambda$1 extends o implements Function1<List<? extends Message>, Unit> {
|
|
public final /* synthetic */ long $channelId$inlined;
|
|
public final /* synthetic */ StoreMessagesLoader.ChannelLoadedState $channelLoadedState$inlined;
|
|
public final /* synthetic */ StoreMessagesLoader$tryLoadMessages$4 $loadPagedMessages$4$inlined;
|
|
public final /* synthetic */ boolean $shouldRequestNewerMessages;
|
|
public final /* synthetic */ boolean $shouldRequestOlderMessages;
|
|
public final /* synthetic */ StoreMessagesLoader this$0;
|
|
|
|
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
|
public StoreMessagesLoader$tryLoadMessages$$inlined$apply$lambda$1(boolean z2, boolean z3, StoreMessagesLoader storeMessagesLoader, StoreMessagesLoader.ChannelLoadedState channelLoadedState, long j, StoreMessagesLoader$tryLoadMessages$4 storeMessagesLoader$tryLoadMessages$4) {
|
|
super(1);
|
|
this.$shouldRequestOlderMessages = z2;
|
|
this.$shouldRequestNewerMessages = z3;
|
|
this.this$0 = storeMessagesLoader;
|
|
this.$channelLoadedState$inlined = channelLoadedState;
|
|
this.$channelId$inlined = j;
|
|
this.$loadPagedMessages$4$inlined = storeMessagesLoader$tryLoadMessages$4;
|
|
}
|
|
|
|
/* 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 Message> list) {
|
|
invoke((List<Message>) list);
|
|
return Unit.a;
|
|
}
|
|
|
|
public final void invoke(List<Message> list) {
|
|
StoreMessagesLoader$tryLoadMessages$4 storeMessagesLoader$tryLoadMessages$4 = this.$loadPagedMessages$4$inlined;
|
|
long j = this.$channelId$inlined;
|
|
m.checkNotNullExpressionValue(list, "messages");
|
|
storeMessagesLoader$tryLoadMessages$4.invoke(j, list, this.$shouldRequestOlderMessages, this.$shouldRequestNewerMessages);
|
|
}
|
|
}
|