Browse Source

Fix some code quality/formatting

jonny/proxy
ganfra 1 year ago
parent
commit
f6a1db44a6
  1. 0
      libraries/core/src/main/kotlin/io/element/android/libraries/core/coroutine/ChildScopeOf.kt
  2. 2
      libraries/matrix/impl/src/main/kotlin/io/element/android/libraries/matrix/impl/room/RoomContentForwarder.kt
  3. 16
      libraries/matrix/impl/src/main/kotlin/io/element/android/libraries/matrix/impl/room/RoomListExtensions.kt

0
libraries/core/src/main/kotlin/io/element/android/libraries/core/coroutine/childScopeOf.kt → libraries/core/src/main/kotlin/io/element/android/libraries/core/coroutine/ChildScopeOf.kt

2
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 @@ -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,

16
libraries/matrix/impl/src/main/kotlin/io/element/android/libraries/matrix/impl/room/RoomListExtensions.kt

@ -1,3 +1,19 @@ @@ -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

Loading…
Cancel
Save