project: rename parse_mentions to parse_note_content
This is more accurate
This commit is contained in:
@@ -163,7 +163,7 @@ struct Blocks {
|
||||
let blocks: [Block]
|
||||
}
|
||||
|
||||
func parse_mentions(content: String, tags: [[String]]) -> Blocks {
|
||||
func parse_note_content(content: String, tags: [[String]]) -> Blocks {
|
||||
var out: [Block] = []
|
||||
|
||||
var bs = note_blocks()
|
||||
|
||||
@@ -111,6 +111,6 @@ func parse_post_bech32_mention(_ p: Parser) -> ReferencedId? {
|
||||
|
||||
/// Return a list of tags
|
||||
func parse_post_blocks(content: String) -> [Block] {
|
||||
return parse_mentions(content: content, tags: []).blocks
|
||||
return parse_note_content(content: content, tags: []).blocks
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user