More attachment robust support
This commit is contained in:
1 parent
10ca97310e
commit
dba9b05c88
3 files changed
+118
-100
No files matched your search
+1
-1
@@ -78,7 +78,7 @@ type Message struct {
|
||||
|
||||
Chat PortalKey `gorm:"primaryKey;embedded;embeddedPrefix:chat_"`
|
||||
JID types.GroupMeID `gorm:"primaryKey"`
|
||||
MXID id.EventID `gorm:"unique;notNull"`
|
||||
MXID id.EventID `gorm:"primaryKey;unique;notNull"`
|
||||
Sender types.GroupMeID `gorm:"notNull"`
|
||||
Timestamp uint64 `gorm:"notNull;default:0"`
|
||||
Content *groupmeExt.Message `gorm:"type:TEXT;notNull"`
|
||||
|
||||
Reference in new issue
Block a user