mx-sanebot: remove dead code

This commit is contained in:
Colin 2023-04-25 23:23:04 +00:00
parent a4bcb44677
commit 131a828ed0

View File

@ -80,17 +80,6 @@ impl Runner {
}
}
// add our CommandBot to be notified of incoming messages, we do this after the
// initial sync to avoid responding to messages before the bot was running.
// self.client.add_event_handler(on_room_message);
// // since we called `sync_once` before we entered our sync loop we must pass
// // that sync token to `sync`
// let settings = SyncSettings::default().token(response.next_batch);
// // this keeps state from the server streaming in to CommandBot via the
// // EventHandler trait
// self.client.sync(settings).await?;
Ok(())
}