xmpp: Shorten the default caps node to our main domain

Link Mauve created

We do own xmpp.rs, so letโ€™s use that instead of gitlab.com.

Change summary

xmpp/ChangeLog             | 2 ++
xmpp/examples/hello_bot.rs | 2 +-
xmpp/src/lib.rs            | 2 +-
3 files changed, 4 insertions(+), 2 deletions(-)

Detailed changes

xmpp/ChangeLog ๐Ÿ”—

@@ -26,6 +26,8 @@ XXXX-YY-ZZ [ RELEASER <admin@localhost> ]
       - Agent::wait_for_events now return Vec<Event> and sets inner tokio_xmpp Client
         auto-reconnect to true... It is still aware of Event::Disconnected but should
         no longer have weird hanging state or panic (!436)
+      - The default caps node has been shortened to https://xmpp.rs since we
+        own that domain. Users should change it in their application though.
     * CI:
       - Enforce changelog updates in Gitlab CI.
 

xmpp/examples/hello_bot.rs ๐Ÿ”—

@@ -47,7 +47,7 @@ async fn main() -> Result<(), Option<()>> {
     // Client instance
     let mut client = ClientBuilder::new(jid, password)
         .set_client(ClientType::Bot, "xmpp-rs")
-        .set_website("https://gitlab.com/xmpp-rs/xmpp-rs")
+        .set_website("https://xmpp.rs")
         .set_default_nick(nick)
         .enable_feature(ClientFeature::ContactList)
         .enable_feature(ClientFeature::JoinRooms)

xmpp/src/lib.rs ๐Ÿ”—

@@ -131,7 +131,7 @@ mod tests {
         // Client instance
         let client_builder = ClientBuilder::new(jid, "meh")
             .set_client(ClientType::Bot, "xmpp-rs")
-            .set_website("https://gitlab.com/xmpp-rs/xmpp-rs")
+            .set_website("https://xmpp.rs")
             .set_default_nick(nick)
             .enable_feature(ClientFeature::ContactList);