mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-04-02 17:08:04 +02:00
Keeping subscription names small to please some relays.
This commit is contained in:
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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user