Tweak relay status

This commit is contained in:
Jon Staab
2026-04-01 16:05:15 -07:00
parent 3e131b6a1b
commit 7e0bd14ef3
5 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -32,7 +32,7 @@ Notes:
## `pub fn create_relay(&self, relay: &Relay) -> Result<()>`
- Creates relay, may throw sqlite uniqueness error on subdomain
- Sets relay status to `new`
- Sets relay status to `active`
- Logs activity as `(create_relay, relay_id)`
## `pub fn update_relay(&self, relay: &Relay) -> Result<()>`
+1 -1
View File
@@ -21,7 +21,7 @@ Members:
## `async fn catch_up(&self)`
- Lists all relays via `query.list_relays()` and syncs any that have `status = "new"` or a non-empty `sync_error`.
- Lists all relays via `query.list_relays()` and syncs any where `synced == 0` and `sync_error` is empty.
## `async fn handle_activity(&self, activity: &Activity)`