diff options
Diffstat (limited to 'filamento/src/lib.rs')
-rw-r--r-- | filamento/src/lib.rs | 3 |
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)] |