aboutsummaryrefslogtreecommitdiffstats
path: root/filamento/src/lib.rs
diff options
context:
space:
mode:
authorLibravatar cel 🌸 <cel@bunny.garden>2025-03-28 19:25:33 +0000
committerLibravatar cel 🌸 <cel@bunny.garden>2025-03-28 21:12:02 +0000
commit7d122d244622c664a7f5d8d99efc739dba5e6a3d (patch)
tree58e33efd19298ec32dd4479b81226693406a6ada /filamento/src/lib.rs
parent97ef9274ac5e0e9aa6d6c842477051de80b9d82d (diff)
downloadluz-7d122d244622c664a7f5d8d99efc739dba5e6a3d.tar.gz
luz-7d122d244622c664a7f5d8d99efc739dba5e6a3d.tar.bz2
luz-7d122d244622c664a7f5d8d99efc739dba5e6a3d.zip
feat(filamento): disco features and identity categories according to registry
Diffstat (limited to 'filamento/src/lib.rs')
-rw-r--r--filamento/src/lib.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/filamento/src/lib.rs b/filamento/src/lib.rs
index 89da1a3..bc946ae 100644
--- a/filamento/src/lib.rs
+++ b/filamento/src/lib.rs
@@ -36,6 +36,7 @@ use uuid::Uuid;
pub mod chat;
pub mod db;
+pub mod disco;
pub mod error;
mod logic;
pub mod presence;
@@ -97,6 +98,8 @@ pub enum Command {
/// send a message to a jid (any kind of jid that can receive a message, e.g. a user or a
/// chatroom). if disconnected, will be cached so when client connects, message will be sent.
SendMessage(JID, Body, oneshot::Sender<Result<(), WriteError>>),
+ /// disco info request
+ DiscoInfo(JID, oneshot::Sender<Result>),
}
#[derive(Debug, Clone)]