diff --git a/libraries/core/src/main/kotlin/io/element/android/libraries/core/coroutine/childScopeOf.kt b/libraries/core/src/main/kotlin/io/element/android/libraries/core/coroutine/ChildScopeOf.kt similarity index 100% rename from libraries/core/src/main/kotlin/io/element/android/libraries/core/coroutine/childScopeOf.kt rename to libraries/core/src/main/kotlin/io/element/android/libraries/core/coroutine/ChildScopeOf.kt diff --git a/libraries/matrix/impl/src/main/kotlin/io/element/android/libraries/matrix/impl/room/RoomContentForwarder.kt b/libraries/matrix/impl/src/main/kotlin/io/element/android/libraries/matrix/impl/room/RoomContentForwarder.kt index 8e99fad147..73abea0d77 100644 --- a/libraries/matrix/impl/src/main/kotlin/io/element/android/libraries/matrix/impl/room/RoomContentForwarder.kt +++ b/libraries/matrix/impl/src/main/kotlin/io/element/android/libraries/matrix/impl/room/RoomContentForwarder.kt @@ -32,7 +32,7 @@ import kotlin.time.Duration.Companion.milliseconds /** * Helper to forward event contents from a room to a set of other rooms. - * @param slidingSync the [SlidingSync] to fetch room instances to forward the event to + * @param roomListService the [RoomListService] to fetch room instances to forward the event to */ class RoomContentForwarder( private val roomListService: RoomListService, diff --git a/libraries/matrix/impl/src/main/kotlin/io/element/android/libraries/matrix/impl/room/RoomListExtensions.kt b/libraries/matrix/impl/src/main/kotlin/io/element/android/libraries/matrix/impl/room/RoomListExtensions.kt index 2697fa87fb..a6569158d0 100644 --- a/libraries/matrix/impl/src/main/kotlin/io/element/android/libraries/matrix/impl/room/RoomListExtensions.kt +++ b/libraries/matrix/impl/src/main/kotlin/io/element/android/libraries/matrix/impl/room/RoomListExtensions.kt @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2023 New Vector Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package io.element.android.libraries.matrix.impl.room import io.element.android.libraries.matrix.impl.util.mxCallbackFlow