mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-25 05:22:06 +01:00
Set message type to 'chat' for OMEMO messages
This commit is contained in:
parent
122ad1ee62
commit
a25890cfcc
1 changed files with 1 additions and 2 deletions
|
@ -127,8 +127,7 @@ public class OmemoMessage {
|
|||
*/
|
||||
public Message asMessage(Jid recipient) {
|
||||
|
||||
Message messageStanza = new Message();
|
||||
messageStanza.setTo(recipient);
|
||||
Message messageStanza = new Message(recipient, Message.Type.chat);
|
||||
messageStanza.addExtension(getElement());
|
||||
|
||||
if (OmemoConfiguration.getAddOmemoHintBody()) {
|
||||
|
|
Loading…
Reference in a new issue