diff options
| author | Owen Jacobson <owen@grimoire.ca> | 2024-10-03 20:17:07 -0400 |
|---|---|---|
| committer | Owen Jacobson <owen@grimoire.ca> | 2024-10-03 20:17:07 -0400 |
| commit | 0a5599c60d20ccc2223779eeba5dc91a95ea0fe5 (patch) | |
| tree | f7ce69ad18768ff53d8fa37d8eb9c6c575633f9e /src/message/mod.rs | |
| parent | ec804134c33aedb001c426c5f42f43f53c47848f (diff) | |
Add endpoints for deleting channels and messages.
It is deliberate that the expire() functions do not use them. To avoid races, the transactions must be committed before events get sent, in both cases, which makes them structurally pretty different.
Diffstat (limited to 'src/message/mod.rs')
| -rw-r--r-- | src/message/mod.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/message/mod.rs b/src/message/mod.rs index 52d56c1..a8f51ab 100644 --- a/src/message/mod.rs +++ b/src/message/mod.rs @@ -3,6 +3,7 @@ pub mod event; mod history; mod id; pub mod repo; +mod routes; mod snapshot; -pub use self::{event::Event, history::History, id::Id, snapshot::Message}; +pub use self::{event::Event, history::History, id::Id, routes::router, snapshot::Message}; |
