public interface OmemoMucMessageListener
| Modifier and Type | Method and Description |
|---|---|
void |
onOmemoKeyTransportReceived(MultiUserChat muc,
BareJid from,
CipherAndAuthTag cipherAndAuthTag,
Message message,
Message wrappingMessage,
OmemoMessageInformation omemoInformation)
Gets called, whenever an OmemoElement without a body (an OmemoKeyTransportElement) is received.
|
void |
onOmemoMucMessageReceived(MultiUserChat muc,
BareJid from,
java.lang.String decryptedBody,
Message message,
Message wrappingMessage,
OmemoMessageInformation omemoInformation)
Gets called whenever an OMEMO message has been received in a MultiUserChat and successfully decrypted.
|
void onOmemoMucMessageReceived(MultiUserChat muc, BareJid from, java.lang.String decryptedBody, Message message, Message wrappingMessage, OmemoMessageInformation omemoInformation)
muc - MultiUserChat the message was sent infrom - the bareJid of the senderdecryptedBody - the decrypted Body of the messagemessage - the original message with encrypted elementwrappingMessage - in case of a carbon copy, this is the wrapping messageomemoInformation - information about the encryption of the messagevoid onOmemoKeyTransportReceived(MultiUserChat muc, BareJid from, CipherAndAuthTag cipherAndAuthTag, Message message, Message wrappingMessage, OmemoMessageInformation omemoInformation)
muc - MultiUserChat the message was sent infrom - bareJid of the sendercipherAndAuthTag - transportedKey along with an optional authTagmessage - Message that contained the KeyTransportwrappingMessage - Wrapping message (eg. carbon), or nullomemoInformation - Information about the messages encryption etc.