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:
parent
84c4b5731c
commit
5ae38545e4
3 changed files with 4 additions and 2 deletions
|
|
@ -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.
|
||||
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue