xmppftw
c16456f381
parsers/xmpp: MUC bookmarks have nickname typed as ResourcePart
2024-12-18 15:43:09 +00:00
xmppftw
8c3c8c7c97
hello_bot accepts a list of room JIDs to join to say hello
2024-12-17 00:27:50 +00:00
xmppftw
fdec34afde
Add JoinRoomSettings, LeaveRoomSettings, and RoomMessageSettings
2024-12-17 00:27:50 +00:00
xmppftw
6d7a95b6ca
Remove xmpp::Event::{JoinRoom,LeaveRoom,LeaveAllRooms}
2024-12-16 22:36:25 +01:00
xmppftw
23e943825f
xmpp::Agent::wait_for_events cannot error
2024-08-08 15:43:52 +02:00
Emmanuel Gil Peyrot
5fc12c45b5
xmpp: Use tokio-xmpp’s reexports of jid and minidom
2024-07-25 14:36:09 +00:00
Jonas Schäfer
2e9c9411a3
jid: rewrite public types
...
This moves InnerJid into Jid and reformulates BareJid and FullJid in
terms of Jid.
Doing this has the key advantage that FullJid and BareJid can deref to
and borrow as Jid. This, in turn, has the advantage that they can be
used much more flexibly in HashMaps. However, this is (as we say in
Germany) future music; this commit only does the internal reworking.
Oh and also, it saves 20% memory on Jid objects.
Fixes #122 more thoroughly, or rather the original intent behind it.
2024-04-15 18:21:24 +02:00
Emmanuel Gil Peyrot
1bab5c3cd9
Remove redundant imports
...
These became warnings in a recent nightly.
The TryFrom/TryInto imports were missed in
4089891f6c
, but the rest are truly
redundant.
2024-02-27 22:57:18 +01:00
xmppftw
3d9bdd6fe2
Add StanzaTimeInfo for <delay> (XEP-0203)
2023-12-31 21:07:12 +01:00
Werner Kroneman
ba48f6de46
Lazily bubbling the XMPP event up to the Disconnected event.
2023-12-15 23:23:56 +00:00
21c9fa2df4
xmpp: Update to tokio-xmpp 3.4
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-08-20 21:34:04 +02:00
xmppftw
209bab1441
tokio_xmpp::AsyncClient and xmpp::Agent take a fully parsed Jid ( #72 )
2023-06-01 16:55:53 +02:00
c759516508
xmpp: *Message events now include an optional id
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-02-26 20:09:20 +01:00
a15a028383
xmpp: hello_bot: add catchall for Event
...
Masks HTTPUploadedFile which is useless here as we don't call the upload
method.
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-04-18 12:10:55 +02:00
Emmanuel Gil Peyrot
714d850e69
Remove the -rs suffix of jid, minidom and xmpp
...
We know those are Rust libraries, no need to add it to the path. This
synchronises their directory with the crate name, hopefully reducing
confusion.
2020-06-22 02:17:32 +02:00