mirror of
https://github.com/stoatchat/stoatchat.git
synced 2026-07-14 13:36:59 +00:00
feat: add emoji rename endpoint (#714)
* feat: add rename endpoint with rename-only update Signed-off-by: Gabriel <60961939+gabrielfordevelopment@users.noreply.github.com> * fix: enforce detached emoji edit restrictions Signed-off-by: Gabriel <60961939+gabrielfordevelopment@users.noreply.github.com> * fix: always enforce emoji edit permissions Signed-off-by: Gabriel <60961939+gabrielfordevelopment@users.noreply.github.com> --------- Signed-off-by: Gabriel <60961939+gabrielfordevelopment@users.noreply.github.com>
This commit is contained in:
@@ -539,6 +539,22 @@ Emoji created, the event object has the same schema as the Emoji object in the A
|
||||
}
|
||||
```
|
||||
|
||||
### EmojiUpdate
|
||||
|
||||
Emoji has been updated.
|
||||
|
||||
```json
|
||||
{
|
||||
"type": "EmojiUpdate",
|
||||
"id": "{emoji_id}",
|
||||
"data": {
|
||||
"name"?: "{emoji_name}"
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
- `data` field contains a partial Emoji object.
|
||||
|
||||
### EmojiDelete
|
||||
|
||||
Emoji has been deleted.
|
||||
|
||||
Reference in New Issue
Block a user