Change method visibility
This commit is contained in:
parent
a10a8ce5ca
commit
fdb9ed80d4
@ -22,7 +22,10 @@ object RoomLocalEcho {
|
|||||||
|
|
||||||
private const val PREFIX = "!local."
|
private const val PREFIX = "!local."
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Tell whether the provider room id is a local id.
|
||||||
|
*/
|
||||||
fun isLocalEchoId(roomId: String) = roomId.startsWith(PREFIX)
|
fun isLocalEchoId(roomId: String) = roomId.startsWith(PREFIX)
|
||||||
|
|
||||||
fun createLocalEchoId() = "${PREFIX}${UUID.randomUUID()}"
|
internal fun createLocalEchoId() = "${PREFIX}${UUID.randomUUID()}"
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user