cave/activitypub: don't convert tags that start with @. WAT?
This commit is contained in:
parent
5b9ff9213f
commit
fb5e52224d
|
@ -116,7 +116,10 @@ impl Post {
|
||||||
while tag.name.chars().next() == Some('#') {
|
while tag.name.chars().next() == Some('#') {
|
||||||
tag.name.remove(0);
|
tag.name.remove(0);
|
||||||
}
|
}
|
||||||
if tag.name.len() > 0 {
|
if tag.name.chars.next() == Some('@') {
|
||||||
|
// why do these occur?
|
||||||
|
None
|
||||||
|
} else if tag.name.len() > 0 {
|
||||||
Some(tag)
|
Some(tag)
|
||||||
} else {
|
} else {
|
||||||
None
|
None
|
||||||
|
|
Loading…
Reference in New Issue
Block a user