From 1bcdf1da3bb10d564a6a56a89af5afa53e5cd78f Mon Sep 17 00:00:00 2001 From: tobi <31960611+tsmethurst@users.noreply.github.com> Date: Tue, 12 Mar 2024 15:34:08 +0100 Subject: [feature] Process incoming `Move` activity (#2724) * [feature] Process incoming account Move activity * fix targetAcct typo * put move origin account on fMsg * shift more move functionality back to the worker fn * simplify error logic --- internal/state/state.go | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'internal/state') diff --git a/internal/state/state.go b/internal/state/state.go index 7cd0406b0..5dfe83271 100644 --- a/internal/state/state.go +++ b/internal/state/state.go @@ -42,9 +42,12 @@ type State struct { // DB provides access to the database. DB db.DB - // FedLocks provides access to this state's mutex map - // of per URI federation locks. Used during dereferencing - // and by the go-fed/activity library. + // FedLocks provides access to this state's + // mutex map of per URI federation locks. + // + // Used during account and status dereferencing, + // message processing in the FromFediAPI worker + // functions, and by the go-fed/activity library. FedLocks mutexes.MutexMap // Storage provides access to the storage driver. -- cgit v1.2.3