hive-matrix-mcp: remove planted marker from send_redact comment, fix concurrent-delivery wording
This commit is contained in:
parent
eb103a5660
commit
f5003fd1bb
1 changed files with 3 additions and 3 deletions
|
|
@ -425,9 +425,9 @@ pub async fn send_redact(
|
|||
// keeps only the shell + reason. A fresh txn id (None) is fine — this is
|
||||
// a one-shot operator/agent action, not a retried send. Power level is
|
||||
// enforced server-side (own events always; others' need a moderator PL),
|
||||
// so a redact that races a concurrent edit is resolved by the server.
|
||||
// NOTE(droggelbecher): no client-side pre-check — we let the server be
|
||||
// the authority on both permission and ordering.
|
||||
// so a redact that races concurrent delivery is resolved by the server.
|
||||
// No client-side pre-check — we let the server be the authority on both
|
||||
// permission and ordering.
|
||||
match room.redact(&eid, reason, None).await {
|
||||
Ok(resp) => DaemonResponse::ok(&serde_json::json!({
|
||||
"event_id": resp.event_id.to_string(),
|
||||
|
|
|
|||
Loading…
Reference in a new issue