[][src]Function oration::delete_comment

fn delete_comment(
    conn: Conn,
    config: State<Config>,
    identifier: CommentId,
    hash: AuthHash
) -> Result<String, Failure>

Requests comment deletion from a user, may or may not actually delete the comment based on a number of possibilities: authentication issues, over time, etc. Secondarily, the method of deletion may differ. If the comment has children it is not deleted entirely, but flagged so that the rest of the conversation is not automatically pruned.