Skip to content

Commit

Permalink
Fix replying on deleted posts (mattermost#28061)
Browse files Browse the repository at this point in the history
  • Loading branch information
larkox authored Aug 27, 2024
1 parent 626ccde commit 1821903
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ const useSubmit = (
return false;
}
const post = getPost(state, postId);
if (!post || post.delete_at) {
if (!post || post.delete_at || post.state === 'DELETED') {
return true;
}

Expand Down

0 comments on commit 1821903

Please sign in to comment.