Skip to content

Deactivated custom emoji offered in autocomplete #1113

@gnprice

Description

@gnprice

A custom emoji can be deactivated:

When that happens, it's still valid for existing messages and reactions; but the server will reject new uses, and so it shouldn't be offered in the UI.

Currently we don't take account of that, so we offer deactivated custom emoji the same way as those still active.

The effect is conspicuous on chat.zulip.org, because there are a substantial number of deactivated emoji (57 of them):

$ <tmp/register.json jq '.realm_emoji[] | .deactivated' | sort | uniq -c
    131 false
     57 true

Particularly so after #1112 (implementing #1068), since custom emoji are ranked ahead of Unicode emoji (other than the "popular" emoji).

Metadata

Metadata

Assignees

Labels

a-composeCompose box, autocomplete, attaching files/images

Type

No type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions