MM-10412: Adds deleteBy prop to posts. (#8896)

Этот коммит содержится в:
Martin Kraft
2018-06-01 12:45:46 -04:00
коммит произвёл GitHub
родитель 5992a729c5
Коммит 260d7a0f85
8 изменённых файлов: 39 добавлений и 17 удалений

Просмотреть файл

@@ -181,7 +181,7 @@ type PostStore interface {
Update(newPost *model.Post, oldPost *model.Post) StoreChannel
Get(id string) StoreChannel
GetSingle(id string) StoreChannel
Delete(postId string, time int64) StoreChannel
Delete(postId string, time int64, deleteByID string) StoreChannel
PermanentDeleteByUser(userId string) StoreChannel
PermanentDeleteByChannel(channelId string) StoreChannel
GetPosts(channelId string, offset int, limit int, allowFromCache bool) StoreChannel