api!: remove dc_msg_force_plaintext

Message.force_plaintext() is still used in legacy SecureJoin steps
internally, so cannot be removed, but there is no need for public API.
This commit is contained in:
link2xt
2026-04-06 23:42:34 +02:00
committed by l
parent c8716f50aa
commit 3b8f1934f3
4 changed files with 1 additions and 26 deletions

View File

@@ -1319,7 +1319,7 @@ impl Message {
}
/// Force the message to be sent in plain text.
pub fn force_plaintext(&mut self) {
pub(crate) fn force_plaintext(&mut self) {
self.param.set_int(Param::ForcePlaintext, 1);
}