[jdev] Omemo: confused by devicelist via pep

george b scooterschorschi at gmail.com
Wed Jan 27 20:19:58 UTC 2021


Perfect. Thank you, that did the trick :-).

Had to call
client->getDiscoManager()->setCapsNode ...
first. Without that, the caps will not be added to the presence stanza.


Am Mi., 27. Jan. 2021 um 11:39 Uhr schrieb Kevin Smith <
kevin.smith at isode.com>:

> On 26 Jan 2021, at 21:20, george b <scooterschorschi at gmail.com> wrote:
> >
> > Thank you for the quick reply. Indeed, this sounds like the source of
> the problem.
> > After reading through the xeps, the generation of the verification
> string is somewhat complicated. Will try to implement this the next days
> :-).
>
> If you mean the string for caps, you shouldn’t have to do that yourself,
> your XMPP library should do that for you. E.g. in Swiften it’ll do it for
> you in the CapsInfoGenerator if you set the features you want in the
> ClientDiscoManager.
>
> /K
> _______________________________________________
> JDev mailing list
> Info: https://mail.jabber.org/mailman/listinfo/jdev
> Unsubscribe: JDev-unsubscribe at jabber.org
> _______________________________________________
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.jabber.org/pipermail/jdev/attachments/20210127/4e2dbc75/attachment.html>


More information about the JDev mailing list