22 lines
902 B
Java
22 lines
902 B
Java
|
package com.discord.utilities.streams;
|
||
|
|
||
|
import com.discord.stores.StoreApplicationStreaming;
|
||
|
import j0.k.b;
|
||
|
import j0.l.e.j;
|
||
|
import rx.Observable;
|
||
|
/* compiled from: StreamContextService.kt */
|
||
|
public final class StreamContextService$getForActiveStream$1<T, R> implements b<StoreApplicationStreaming.ActiveApplicationStream, Observable<? extends StreamContext>> {
|
||
|
public final /* synthetic */ StreamContextService this$0;
|
||
|
|
||
|
public StreamContextService$getForActiveStream$1(StreamContextService streamContextService) {
|
||
|
this.this$0 = streamContextService;
|
||
|
}
|
||
|
|
||
|
public final Observable<? extends StreamContext> call(StoreApplicationStreaming.ActiveApplicationStream activeApplicationStream) {
|
||
|
if (activeApplicationStream == null) {
|
||
|
return new j(null);
|
||
|
}
|
||
|
return this.this$0.getForUser(activeApplicationStream.getStream().getOwnerId(), false);
|
||
|
}
|
||
|
}
|