chore: detach emojis on delete

This commit is contained in:
Paul Makles
2022-07-15 14:01:59 +01:00
parent 4f73e43a03
commit d96c9f62c4
6 changed files with 33 additions and 10 deletions

View File

@@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize};
#[serde(tag = "type")]
pub enum EmojiParent {
Server { id: String },
Detached,
}
/// Representation of an Emoji on Revolt