project: rename parse_mentions to parse_note_content

This is more accurate
This commit is contained in:
William Casarin
2023-07-16 10:49:31 -07:00
parent da78a217a3
commit 0c95071de7
9 changed files with 40 additions and 40 deletions

View File

@@ -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()

View File

@@ -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
}