Re: Omemo: confused by devicelist via pep
Kevin Smith <[email protected]> Tue, 26 Jan 2021 20:19:31 +0000
| Newsgroups | gmane.network.jabber.devel |
|---|---|
| Message-ID | <[email protected]> |
--===============0846023156== Content-Type: multipart/alternative; boundary="Apple-Mail=_766C16E0-89F9-4A2A-BE8D-EF7CA24D0EE8" --Apple-Mail=_766C16E0-89F9-4A2A-BE8D-EF7CA24D0EE8 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Hi, > On 26 Jan 2021, at 19:36, george b <[email protected]> wrote: > According to omemo xep [3] 5.2: "Devices MUST subscribe to = urn:xmpp:omemo:1:devices via PEP". But pep state [4] 1.2: "because they = are subscribed to your presence, they automatically receive your = events". I would expect, as long as the users are subscribed to the = others presence, they will automatically receive the devicelist nodes = and updates? That does not work for me.=20 I suspect you=E2=80=99re missing the magic presence subscription = mechanism PEP uses. You automatically subscribe to PEP nodes that you = indicate in your caps that you want to using +notify features. Searching 163 for +notify will probably help here. /K= --Apple-Mail=_766C16E0-89F9-4A2A-BE8D-EF7CA24D0EE8 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 <html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; = charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; = -webkit-nbsp-mode: space; line-break: after-white-space;" = class=3D"">Hi,<br class=3D""><div><br class=3D""><blockquote type=3D"cite"= class=3D""><div class=3D"">On 26 Jan 2021, at 19:36, george b <<a = href=3D"mailto:[email protected]" = class=3D"">[email protected]</a>> wrote:</div><div = class=3D""><div dir=3D"ltr" class=3D""><div class=3D"">According to = omemo xep [3] 5.2: "Devices MUST subscribe to <code class=3D"">urn:<a = href=3D"xmpp:omemo:1:devices" class=3D"">xmpp:omemo:1:devices</a></code> = via PEP". But pep state [4] 1.2: "because they are subscribed to your = presence, they automatically receive your events". I would expect, as = long as the users are subscribed to the others presence, they will = automatically receive the devicelist nodes and updates? That does not = work for me. <br class=3D""></div></div></div></blockquote><br = class=3D""></div><div>I suspect you=E2=80=99re missing the magic = presence subscription mechanism PEP uses. You automatically subscribe to = PEP nodes that you indicate in your caps that you want to using +notify = features.</div><div class=3D""><br class=3D""></div><div = class=3D"">Searching 163 for +notify will probably help here.</div><br = class=3D""><div class=3D"">/K</div></body></html>= --Apple-Mail=_766C16E0-89F9-4A2A-BE8D-EF7CA24D0EE8-- --===============0846023156== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ JDev mailing list Info: https://mail.jabber.org/mailman/listinfo/jdev Unsubscribe: [email protected] _______________________________________________ --===============0846023156==--