Skip to content

Commit fdb9ed8

Browse files
author
Florian Renaud
committed
Change method visibility
1 parent a10a8ce commit fdb9ed8

File tree

1 file changed

+4
-1
lines changed
  • matrix-sdk-android/src/main/java/org/matrix/android/sdk/api/session/room/model/localecho

1 file changed

+4
-1
lines changed

matrix-sdk-android/src/main/java/org/matrix/android/sdk/api/session/room/model/localecho/RoomLocalEcho.kt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,10 @@ object RoomLocalEcho {
2222

2323
private const val PREFIX = "!local."
2424

25+
/**
26+
* Tell whether the provider room id is a local id.
27+
*/
2528
fun isLocalEchoId(roomId: String) = roomId.startsWith(PREFIX)
2629

27-
fun createLocalEchoId() = "${PREFIX}${UUID.randomUUID()}"
30+
internal fun createLocalEchoId() = "${PREFIX}${UUID.randomUUID()}"
2831
}

0 commit comments

Comments
 (0)