MM-57326: [Shared Channels] Message priority, acknowledgement and persistent notifications need to be synced (#30736)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
fa1c77d9b0
Коммит
85391de22a
@@ -291,6 +291,7 @@ type SyncMsg struct {
|
||||
Reactions []*Reaction `json:"reactions,omitempty"`
|
||||
Statuses []*Status `json:"statuses,omitempty"`
|
||||
MembershipChanges []*MembershipChangeMsg `json:"membership_changes,omitempty"`
|
||||
Acknowledgements []*PostAcknowledgement `json:"acknowledgements,omitempty"`
|
||||
}
|
||||
|
||||
func NewSyncMsg(channelID string) *SyncMsg {
|
||||
@@ -328,6 +329,9 @@ type SyncResponse struct {
|
||||
ReactionsLastUpdateAt int64 `json:"reactions_last_update_at"`
|
||||
ReactionErrors []string `json:"reaction_errors"`
|
||||
|
||||
AcknowledgementsLastUpdateAt int64 `json:"acknowledgements_last_update_at"`
|
||||
AcknowledgementErrors []string `json:"acknowledgement_errors"`
|
||||
|
||||
StatusErrors []string `json:"status_errors"` // user IDs for which the status sync failed
|
||||
}
|
||||
|
||||
|
||||
Ссылка в новой задаче
Block a user