Save SenderName || SenderIP per message

This commit is contained in:
2022-11-29 11:07:15 +01:00
parent 464cf3ec7e
commit ac9ae06cc8
14 changed files with 114 additions and 317 deletions

View File

@@ -90,6 +90,14 @@ func (u User) MaxChannelNameLength() int {
return 120
}
func (u User) MaxSenderName() int {
return 120
}
func (u User) MaxUserMessageID() int {
return 64
}
type UserJSON struct {
UserID UserID `json:"user_id"`
Username *string `json:"username"`