feat: Rename vb-request-v2 -> vb-request-with-auth

Turns out that Alice reacts to a request-v2 message in exactly the same
way as to a request-with-auth message. So, no need to distinguish here.
This commit is contained in:
Hocuri
2025-08-11 15:32:01 +02:00
parent 956519cd98
commit 9dc590cb35
5 changed files with 13 additions and 13 deletions

View File

@@ -2948,7 +2948,7 @@ async fn prepare_send_msg(
.get_bool(Param::ForcePlaintext)
.unwrap_or_default()
// V2 securejoin messages are symmetrically encrypted, no need for the public key:
|| msg.securejoin_step() == Some("vb-request-v2")
|| msg.securejoin_step() == Some("vb-request-with-auth")
}
_ => false,
};