added room state

alpha v1.0.78
alex 2023-03-08 20:04:08 +01:00
parent 1944c40311
commit ddeea128a4
2 changed files with 3 additions and 1 deletions

View File

@ -202,6 +202,7 @@ var (
Name: "rooms",
Columns: []string{
"id",
"state",
"sync_count",
"last_changes",
"created_at",

View File

@ -66,6 +66,7 @@ type UserSignUpProcess struct {
// TABLE rooms
type Room struct {
Id string
State uint8
// Represents the current number of message activities in a chat. This includes reactions to messages, replying to messages, deleting messages, and more
SyncCount int
// Contains number X of last changes like messages, reactions, replies