mirror of
https://github.com/embarklabs/embark.git
synced 2025-01-10 13:55:45 +00:00
322397f81c
This has been a problem in Cockpit as well and was fixed accordingly. Whisper doesn't allow subscribing to channels with names that have less than 4 characters. This could be fixed in different ways, one being on the library level (e.g. have embark check for the given length and not subscribing when it doesn't pass the check), the other one being on the application/ui level. The reason it makes sense to solve this in the application layers is because we keep the it open for users of EmbarkJS.Messages APIs to handle errors the way they want. Fixes #1666