forked from jmug/stoatchat
chore: bump and publish
This commit is contained in:
@@ -79,6 +79,8 @@ pub async fn req(user: User, target: Ref, msg: Ref, edit: Json<Data>) -> Result<
|
||||
set.insert("embeds", embed_docs);
|
||||
message.embeds = Some(new_embeds)
|
||||
} else if edit.embeds.is_some() {
|
||||
let obj = update.as_object_mut().unwrap();
|
||||
obj.insert("embeds".to_string(), json!([]));
|
||||
unset.insert("embeds", 1 as u32);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user