diff options
author | 2022-09-06 12:42:55 +0200 | |
---|---|---|
committer | 2022-09-06 12:42:55 +0200 | |
commit | a872ddebe67c7b76cbb78667224b393a847834ac (patch) | |
tree | 28b7d0081ee12ab9928eff0aecd6b55d32d8228d /internal/media/processingemoji.go | |
parent | [bugfix] Catch json syntax errors in the frontend + display a more helpful me... (diff) | |
download | gotosocial-a872ddebe67c7b76cbb78667224b393a847834ac.tar.xz |
[feature] Custom emoji updates (serve emoji via s2s api, tune db models) (#805)
* migrate emojis
* add get emoji to s2s (federation) API
* add new emoji db + cache functions
* add shortcodeDomain lookup for emojis
* check existing emojis w/cache, not w/constraints
* go fmt
* add putEmoji func
* use new db emoji funcs instead of where
* remove emojistringstotags func
* add unique constraint back in
* fix up broken migration
* update index
Diffstat (limited to 'internal/media/processingemoji.go')
-rw-r--r-- | internal/media/processingemoji.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/media/processingemoji.go b/internal/media/processingemoji.go index 098d0aa19..3b3023f2a 100644 --- a/internal/media/processingemoji.go +++ b/internal/media/processingemoji.go @@ -93,7 +93,7 @@ func (p *ProcessingEmoji) LoadEmoji(ctx context.Context) (*gtsmodel.Emoji, error // store the result in the database before returning it if !p.insertedInDB { - if err := p.database.Put(ctx, p.emoji); err != nil { + if err := p.database.PutEmoji(ctx, p.emoji); err != nil { return nil, err } p.insertedInDB = true |