Commit badd672b authored by Sylvain Berfini's avatar Sylvain Berfini 🎩

Do not multipart, encrypt or encapsulate with CPIM in an old ChatRoom to...

Do not multipart, encrypt or encapsulate with CPIM in an old ChatRoom to maintain backward compatibility
parent d2c6e3fc
......@@ -492,7 +492,7 @@ void ChatMessagePrivate::send () {
// Start of message modification
// ---------------------------------------
if (applyModifiers) {
if (applyModifiers && q->getChatRoom()->canHandleParticipants()) { // Do not multipart, encrypt or encapsulate with CPIM in an old ChatRoom to maintain backward compatibility
if ((currentSendStep &ChatMessagePrivate::Step::Multipart) == ChatMessagePrivate::Step::Multipart) {
lInfo() << "Multipart step already done, skipping";
} else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment