tangled
alpha
login
or
join now
bad-example.com
/
microcosm-links
7
fork
atom
APIs for links and references in the ATmosphere
7
fork
atom
overview
issues
pulls
pipelines
thanks clippy
bad-example.com
9 months ago
f2506603
8783986f
+1
-3
1 changed file
expand all
collapse all
unified
split
spacedust
src
subscriber.rs
+1
-3
spacedust/src/subscriber.rs
···
123
123
let target_did = if link.target.starts_with("did:") {
124
124
link.target.clone()
125
125
} else {
126
126
-
let Some(rest) = link.target.strip_prefix("at://") else {
127
127
-
return None
128
128
-
};
126
126
+
let rest = link.target.strip_prefix("at://")?;
129
127
if let Some((did, _)) = rest.split_once("/") {
130
128
did
131
129
} else {