update HTML with new methods

This commit is contained in:
2022-11-21 22:52:44 +01:00
parent d5aea1a828
commit 03c35d6446
17 changed files with 374 additions and 234 deletions

View File

@@ -79,6 +79,10 @@ func (u User) DefaultChannel() string {
return "main"
}
func (u User) MaxChannelNameLength() int {
return 120
}
type UserJSON struct {
UserID UserID `json:"user_id"`
Username *string `json:"username"`