allow longer channel names (if you include the # prefix and suffix

This commit is contained in:
Kevin Hester committed 2021-04-05 15:35:12 +08:00
1 parent 6c8aab5a43
commit 7bb3511587
3 files changed
+2 -3

No files matched your search

@@ -243,7 +243,7 @@ class ChannelFragment : ScreenFragment("Channel"), Logging {
val random = SecureRandom()
val bytes = ByteArray(32)
random.nextBytes(bytes)
newSettings.name = newName // Only change the name if the user did some editing
newSettings.name = newName
newSettings.psk = ByteString.copyFrom(bytes)
} else {
debug("Switching back to default channel")