mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-03-18 20:29:10 +03:00
Change method visibility
This commit is contained in:
parent
a10a8ce5ca
commit
fdb9ed80d4
1 changed files with 4 additions and 1 deletions
|
@ -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()}"
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue