Keeping subscription names small to please some relays.

This commit is contained in:
Vitor Pamplona 2023-02-04 13:29:53 -05:00
parent 2641dda7bc
commit 3e08256347

@ -146,7 +146,7 @@ abstract class NostrDataSource<T>(val debugName: String) {
}
fun requestNewChannel(onEOSE: ((Long) -> Unit)? = null): Channel {
val newChannel = Channel(debugName+UUID.randomUUID().toString().substring(0,4), onEOSE)
val newChannel = Channel(UUID.randomUUID().toString().substring(0,4), onEOSE)
channels = channels + Pair(newChannel.id, newChannel)
return newChannel
}