mirror of
https://github.com/v0l/route96.git
synced 2025-06-18 14:55:20 +00:00
feat: feature labels
This commit is contained in:
@ -130,6 +130,7 @@ impl Nip96UploadResult {
|
||||
if let (Some(w), Some(h)) = (upload.width, upload.height) {
|
||||
tags.push(vec!["dim".to_string(), format!("{}x{}", w, h)])
|
||||
}
|
||||
#[cfg(feature = "labels")]
|
||||
for l in &upload.labels {
|
||||
let val = if l.label.contains(',') {
|
||||
let split_val: Vec<&str> = l.label.split(',').collect();
|
||||
|
Reference in New Issue
Block a user