message: Add forgotten origin-id payload.
This commit is contained in:
parent
7cdb46b90a
commit
545ce29282
1 changed files with 2 additions and 1 deletions
|
@ -73,7 +73,8 @@ impl<'a> TryFrom<&'a Element> for MessagePayload {
|
|||
("result", ns::MAM) => MessagePayload::MamResult(MamResult::try_from(elem)?),
|
||||
|
||||
// XEP-0359
|
||||
("stanza-id", ns::SID) => MessagePayload::StanzaId(StanzaId::try_from(elem)?),
|
||||
("stanza-id", ns::SID)
|
||||
| ("origin-id", ns::SID) => MessagePayload::StanzaId(StanzaId::try_from(elem)?),
|
||||
|
||||
// XEP-0380
|
||||
("encryption", ns::EME) => MessagePayload::ExplicitMessageEncryption(ExplicitMessageEncryption::try_from(elem)?),
|
||||
|
|
Loading…
Reference in a new issue