diff options
author | 2021-05-29 19:45:07 +0200 | |
---|---|---|
committer | 2021-05-29 19:45:07 +0200 | |
commit | 5facbed9c04d1b2e11bf5b842a6acda3a9ed54c0 (patch) | |
tree | 40ae75c3613c9c6915273f98fe7ce41046d11381 /internal/message/searchprocess.go | |
parent | first implementation of search feature (diff) | |
parent | Search (#36) (diff) | |
download | gotosocial-5facbed9c04d1b2e11bf5b842a6acda3a9ed54c0.tar.xz |
Merge branch 'main' of github.com:superseriousbusiness/gotosocial into main
Diffstat (limited to 'internal/message/searchprocess.go')
-rw-r--r-- | internal/message/searchprocess.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/message/searchprocess.go b/internal/message/searchprocess.go index e4e96637b..5634ab51f 100644 --- a/internal/message/searchprocess.go +++ b/internal/message/searchprocess.go @@ -228,7 +228,7 @@ func (p *processor) searchAccountByMention(authed *oauth.Auth, mention string, r // if it's a local account we can skip a whole bunch of stuff maybeAcct := >smodel.Account{} if domain == p.config.Host { - if p.db.GetLocalAccountByUsername(username, maybeAcct); err != nil { + if err = p.db.GetLocalAccountByUsername(username, maybeAcct); err != nil { return } foundAccount = maybeAcct |