Commit 39291bef authored by Sylvain Berfini's avatar Sylvain Berfini 🎩
Browse files

Fixed EncryptionChatMessageModifier where Skipped result wasn't returned

parent 0b5defc7
......@@ -47,6 +47,8 @@ ChatMessageModifier::Result EncryptionChatMessageModifier::encode (ChatMessagePr
return ChatMessageModifier::Result::Suspended;
}
return ChatMessageModifier::Result::Done;
} else if (retval == -1) {
return ChatMessageModifier::Result::Skipped;
}
*errorCode = retval;
return ChatMessageModifier::Result::Error;
......
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