PulkoMandy
2c81b6d96f
xmpp: Add XEP-0070 authentification support
2025-08-29 11:40:25 +00:00
Jonas Schäfer
5172fb5e0f
parsers: port Message to use the derive macros
2025-04-18 12:56:03 +02:00
33098e6f2c
Message and message_correct::Replace now has typed Id
2024-12-30 20:50:43 +00:00
bfac3e8893
xmpp: Receive message corrections, unchecked
2024-12-20 15:48:47 +00:00
b8f74e6bce
xmpp: Common structure for imports
2024-12-18 19:26:40 +01:00
0ec9103b28
xmpp: Rewrite other messages with Agent::send_raw_message
2024-12-18 19:18:34 +01:00
b4d3252da4
xmpp: Add Agent::send_raw_message
2024-12-18 19:18:22 +01:00
e19a7988ed
xmpp: Agent::send_message is only for normal messages
2024-12-18 19:17:55 +01:00
3fd8285a29
xmpp: RoomNick is newtype wrapper for ResourcePart
2024-12-18 15:43:09 +00:00
5477cf1240
xmpp: Use ResourcePart for sender of room events
2024-12-18 15:43:09 +00:00
Jonas Schäfer
35ce86243f
client: use stanzastream!
2024-12-17 18:16:02 +01:00
Emmanuel Gil Peyrot
5fc12c45b5
xmpp: Use tokio-xmpp’s reexports of jid and minidom
2024-07-25 14:36:09 +00:00
Emmanuel Gil Peyrot
002c2803d4
Fix typos across the codebase (thanks codespell!)
2024-05-14 05:46:02 +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
Jonas Schäfer
7fce1146e0
Offer {Resource,Node,Domain}Ref on Jid API
...
This provides a non-copying API, which is generally favourable. The
other accessors were removed, because the intent was to provide this
"most sensible" API via the "default" (i.e. shortest, most concisely
named) functions.
2024-03-10 10:51:01 +01:00
moparisthebest
38bfba4a18
xmpp crate now supports ServerConnector
2024-01-03 19:34:02 -05:00
3d9bdd6fe2
Add StanzaTimeInfo for <delay> (XEP-0203)
2023-12-31 21:07:12 +01:00
a21cd76b5d
Run cargo fmt
2023-12-31 19:59:05 +01:00
4f8ce0a953
Implement Event::RoomSubject for room subject changes/retrieve
2023-12-31 19:41:34 +01:00
e3fcdf1428
Move handling of MessageType::Chat to message::receive::chat module
2023-12-31 13:57:59 +01:00
3ce259b143
Move handling of MessageType::GroupChat to message::receive::group_chat module
2023-12-31 13:57:59 +01:00
f6c47dd394
Move send_message to message::send module
2023-12-31 13:46:20 +01:00
12e5299abf
Move handle_message to message::receive module
2023-12-31 13:44:11 +01:00
82bb418cf3
Move handle_message to message module
2023-12-31 13:18:41 +01:00