Module xmpp_parsers::bookmarks

source ·
Expand description

XEP-0048: Bookmarks

Chatroom bookmarks from XEP-0048. You should never use this, but use bookmarks2, or private::Query for legacy servers which do not advertise urn:xmpp:bookmarks:1#compat on the user’s BareJID in a disco info request.

See ModernXMPP docs on how to handle all historic and newer specifications for your clients.

This module exposes the Autojoin boolean flag, the Conference chatroom element, and the crate::ns::BOOKMARKS XML namespace.

The Conference struct used in private::Query is the one from this module. Only the querying mechanism changes from a legacy PubSub implementation here, to a legacy Private XML Query implementation in that other module. The Conference element from the bookmarks2 module is a different structure, but conversion is possible from bookmarks::Conference to bookmarks2::Conference via the Conference::into_bookmarks2 method.

Re-exports§

Structs§