check if the discussion was deleted

Seems like we have people deleting discussions after inviting people to them this checks for that and tells the user the invitation was cancelled.