Change method visibility

This commit is contained in:
Florian Renaud 2022-07-11 16:22:49 +02:00
parent a10a8ce5ca
commit fdb9ed80d4
1 changed files with 4 additions and 1 deletions

View File

@ -22,7 +22,10 @@ object RoomLocalEcho {
private const val PREFIX = "!local."
/**
* Tell whether the provider room id is a local id.
*/
fun isLocalEchoId(roomId: String) = roomId.startsWith(PREFIX)
fun createLocalEchoId() = "${PREFIX}${UUID.randomUUID()}"
internal fun createLocalEchoId() = "${PREFIX}${UUID.randomUUID()}"
}