MM-15632 DeleteEphemeralMessage to accept a postId string (#10853)
Before it was accepting `post *model.Post`, and returning one. This is a breaking change for the giphy plugin and any other that rely on the API.
Этот коммит содержится в:
@@ -314,7 +314,7 @@ type API interface {
|
||||
|
||||
// DeleteEphemeralPost deletes an ephemeral message previously sent to the user.
|
||||
// EXPERIMENTAL: This API is experimental and can be changed without advance notice.
|
||||
DeleteEphemeralPost(userId string, post *model.Post)
|
||||
DeleteEphemeralPost(userId, postId string)
|
||||
|
||||
// DeletePost deletes a post.
|
||||
DeletePost(postId string) *model.AppError
|
||||
|
||||
Ссылка в новой задаче
Block a user