mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-30 23:03:31 -06:00
[bugfix] Fix Postgres emoji delete, emoji category change (#2570)
* [bugfix] Fix Postgres emoji delete, emoji category change * revert trace logging * caching issue * update tests
This commit is contained in:
parent
14b684b2b5
commit
aa8bbe6ad2
15 changed files with 500 additions and 233 deletions
|
|
@ -612,7 +612,7 @@ func (c *Converter) EmojiToAdminAPIEmoji(ctx context.Context, e *gtsmodel.Emoji)
|
|||
return nil, err
|
||||
}
|
||||
|
||||
if e.Domain != "" {
|
||||
if !e.IsLocal() {
|
||||
// Domain may be in Punycode,
|
||||
// de-punify it just in case.
|
||||
var err error
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue