mirror of
https://github.com/superseriousbusiness/gotosocial
synced 2025-06-05 21:59:39 +02: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:
@@ -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
|
||||
|
Reference in New Issue
Block a user