diff --git a/plugin.json b/plugin.json index 793bef6..13a71e7 100755 --- a/plugin.json +++ b/plugin.json @@ -2,7 +2,7 @@ "id": "com.github.scottleedavis.mattermost-plugin-remind", "name": "Remind Bot", "description": "Sets Reminders for users and channels", - "version": "0.4.2", + "version": "0.4.3", "min_server_version": "5.12.0", "server": { "executables": { diff --git a/server/http.go b/server/http.go index 716bc7b..1e1cb74 100755 --- a/server/http.go +++ b/server/http.go @@ -324,10 +324,10 @@ func (p *Plugin) handleDeleteEphemeral(w http.ResponseWriter, r *http.Request) { "Message": message, } post := &model.Post{ - Id: request.PostId, - UserId: p.remindUserId, + Id: request.PostId, + UserId: p.remindUserId, ChannelId: request.ChannelId, - Message: T("action.delete", deleteParameters), + Message: T("action.delete", deleteParameters), } p.API.UpdateEphemeralPost(request.UserId, post) writePostActionIntegrationResponseOk(w, &model.PostActionIntegrationResponse{}) diff --git a/server/manifest.go b/server/manifest.go index dee2567..b1b86ec 100755 --- a/server/manifest.go +++ b/server/manifest.go @@ -5,5 +5,5 @@ var manifest = struct { Version string }{ Id: "com.github.scottleedavis.mattermost-plugin-remind", - Version: "0.4.2", + Version: "0.4.3", }