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 <
[email protected]>:

> On 26 Jan 2021, at 21:20, george b <[email protected]> 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: [email protected]
> _______________________________________________
>
_______________________________________________
JDev mailing list
Info: https://mail.jabber.org/mailman/listinfo/jdev
Unsubscribe: [email protected]
_______________________________________________

Reply via email to