[MM-15356] Migrate "Channel.Update" to Sync by default (#10815)

This commit is contained in:
Shota Gvinepadze
2019-05-15 01:02:04 +04:00
committed by Hanzei
parent 3bb11d747d
commit b561d7900c
9 changed files with 66 additions and 69 deletions

View File

@@ -132,7 +132,7 @@ type ChannelStore interface {
Save(channel *model.Channel, maxChannelsPerTeam int64) StoreChannel
CreateDirectChannel(userId string, otherUserId string) StoreChannel
SaveDirectChannel(channel *model.Channel, member1 *model.ChannelMember, member2 *model.ChannelMember) StoreChannel
Update(channel *model.Channel) StoreChannel
Update(channel *model.Channel) (*model.Channel, *model.AppError)
Get(id string, allowFromCache bool) (*model.Channel, *model.AppError)
InvalidateChannel(id string)
InvalidateChannelByName(teamId, name string)