We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a10a8ce commit fdb9ed8Copy full SHA for fdb9ed8
matrix-sdk-android/src/main/java/org/matrix/android/sdk/api/session/room/model/localecho/RoomLocalEcho.kt
@@ -22,7 +22,10 @@ object RoomLocalEcho {
22
23
private const val PREFIX = "!local."
24
25
+ /**
26
+ * Tell whether the provider room id is a local id.
27
+ */
28
fun isLocalEchoId(roomId: String) = roomId.startsWith(PREFIX)
29
- fun createLocalEchoId() = "${PREFIX}${UUID.randomUUID()}"
30
+ internal fun createLocalEchoId() = "${PREFIX}${UUID.randomUUID()}"
31
}
0 commit comments