Server invitation process functions
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
ycc
2023-11-14 16:32:50 +01:00
parent 65f9ee2e07
commit 432f449558
8 changed files with 134 additions and 85 deletions

View File

@ -13,7 +13,7 @@ func (msg *UserMessage) AddFile(filename string, maxMessageSize int64) error {
return err
}
if fi.Size() > maxMessageSize {
return errors.New("cannot add file, file bigger than messge size")
return errors.New("cannot add file, file bigger than message size")
}
var totalsize int64
totalsize = 0