Work on ensuring data consistency even for yet unknown fields
Some checks failed
/ docker (push) Has been cancelled

This commit is contained in:
Melody Becker 2025-05-28 16:52:54 +02:00
parent 7e10627618
commit bf0aaaca8f
Signed by: mstar
SSH key fingerprint: SHA256:9VAo09aaVNTWKzPW7Hq2LW+ox9OdwmTSHRoD4mlz1yI
12 changed files with 458 additions and 5 deletions

View file

@ -0,0 +1,11 @@
package models
import "time"
type UnhandledMessage struct {
ID uint64 `gorm:"primarykey"`
CreatedAt time.Time
RawData []byte // Raw data of the message
ForUserId string // Id of the user this message was for
GlobalInbox bool // Whether the message was sent to the global inbox
}