diff options
author | 2024-03-12 15:34:08 +0100 | |
---|---|---|
committer | 2024-03-12 14:34:08 +0000 | |
commit | 1bcdf1da3bb10d564a6a56a89af5afa53e5cd78f (patch) | |
tree | 83716cea30d236c48e1655193c3adfc232e5bc75 /internal/state/state.go | |
parent | [chore] Update usage of OTEL libraries (#2725) (diff) | |
download | gotosocial-1bcdf1da3bb10d564a6a56a89af5afa53e5cd78f.tar.xz |
[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
Diffstat (limited to 'internal/state/state.go')
-rw-r--r-- | internal/state/state.go | 9 |
1 files changed, 6 insertions, 3 deletions
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. |