summaryrefslogtreecommitdiff
path: root/internal/message/searchprocess.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/message/searchprocess.go')
-rw-r--r--internal/message/searchprocess.go2
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 := &gtsmodel.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