fix: respect activity_type in set_relay_status and include activate_relay

This commit is contained in:
2026-04-15 15:18:27 +05:45
parent 072031d0c3
commit 62dde4b2ac
4 changed files with 25 additions and 13 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ Members:
## `async fn handle_activity(&self, activity: &Activity)`
- For `create_relay`, `update_relay`, or `deactivate_relay` activity, calls `sync_and_report`.
- For `create_relay`, `update_relay`, `activate_relay`, or `deactivate_relay` activity, calls `sync_and_report`.
- All other activity types are ignored (e.g. `fail_relay_sync`, `complete_relay_sync`).
## `async fn sync_and_report(&self, relay: &Relay, is_new: bool)`