diff options
Diffstat (limited to 'filamento/src/logic/offline.rs')
-rw-r--r-- | filamento/src/logic/offline.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/filamento/src/logic/offline.rs b/filamento/src/logic/offline.rs index 7dfb394..bc2666a 100644 --- a/filamento/src/logic/offline.rs +++ b/filamento/src/logic/offline.rs @@ -113,7 +113,10 @@ pub async fn handle_offline_result(logic: &ClientLogic, command: Command) -> Res Command::SendPresence(_jid, _presence, sender) => { sender.send(Err(WriteError::Disconnected)); } - Command::DiscoInfo(_jid, sender) => { + Command::DiscoInfo(_jid, _node, sender) => { + sender.send(Err(DiscoError::Write(WriteError::Disconnected))); + } + Command::DiscoItems(_jid, _node, sender) => { sender.send(Err(DiscoError::Write(WriteError::Disconnected))); } } |