fix: ThreadMember flags not serialized (#1335)

This commit is contained in:
Adam Snyder 2023-03-09 15:31:46 -08:00 committed by GitHub
parent 58ea3535b0
commit 1115a47c5d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -527,7 +527,7 @@ type ThreadMember struct {
// The time the current user last joined the thread // The time the current user last joined the thread
JoinTimestamp time.Time `json:"join_timestamp"` JoinTimestamp time.Time `json:"join_timestamp"`
// Any user-thread settings, currently only used for notifications // Any user-thread settings, currently only used for notifications
Flags int Flags int `json:"flags"`
} }
// ThreadsList represents a list of threads alongisde with thread member objects for the current user. // ThreadsList represents a list of threads alongisde with thread member objects for the current user.