Missed a spot
Signed-off-by: Dominic Fischer <dominicfischer7@gmail.com>
This commit is contained in:
parent
822ce41b54
commit
1359c6be1d
|
@ -18,7 +18,6 @@ package org.matrix.android.sdk.internal.session.group
|
||||||
|
|
||||||
import org.matrix.android.sdk.api.session.group.Group
|
import org.matrix.android.sdk.api.session.group.Group
|
||||||
import org.matrix.android.sdk.internal.session.SessionScope
|
import org.matrix.android.sdk.internal.session.SessionScope
|
||||||
import org.matrix.android.sdk.internal.task.TaskExecutor
|
|
||||||
import javax.inject.Inject
|
import javax.inject.Inject
|
||||||
|
|
||||||
internal interface GroupFactory {
|
internal interface GroupFactory {
|
||||||
|
@ -26,14 +25,12 @@ internal interface GroupFactory {
|
||||||
}
|
}
|
||||||
|
|
||||||
@SessionScope
|
@SessionScope
|
||||||
internal class DefaultGroupFactory @Inject constructor(private val getGroupDataTask: GetGroupDataTask,
|
internal class DefaultGroupFactory @Inject constructor(private val getGroupDataTask: GetGroupDataTask) :
|
||||||
private val taskExecutor: TaskExecutor) :
|
|
||||||
GroupFactory {
|
GroupFactory {
|
||||||
|
|
||||||
override fun create(groupId: String): Group {
|
override fun create(groupId: String): Group {
|
||||||
return DefaultGroup(
|
return DefaultGroup(
|
||||||
groupId = groupId,
|
groupId = groupId,
|
||||||
taskExecutor = taskExecutor,
|
|
||||||
getGroupDataTask = getGroupDataTask
|
getGroupDataTask = getGroupDataTask
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue