xmpp: Shorten the default caps node to our main domain

We do own xmpp.rs, so let’s use that instead of gitlab.com.
This commit is contained in:
Link Mauve 2025-04-07 10:39:24 +02:00
commit 5ae38545e4
3 changed files with 4 additions and 2 deletions

View file

@ -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.

View file

@ -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)

View file

@ -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);