Fix quote notes to include missing q tag
Changelog-Fixed: Fix quote notes to include missing q tag Closes: https://github.com/damus-io/damus/issues/2615 Signed-off-by: Terry Yiu <git@tyiu.xyz>
This commit is contained in:
@@ -170,6 +170,12 @@ final class PostViewTests: XCTestCase {
|
||||
|
||||
nonAlphaNumerics.forEach { testAddingStringAfterLink(str: $0)}
|
||||
}
|
||||
|
||||
func testQuoteRepost() {
|
||||
let post = build_post(state: test_damus_state, post: .init(), action: .quoting(test_note), uploadedMedias: [], pubkeys: [])
|
||||
|
||||
XCTAssertEqual(post.tags, [["q", test_note.id.hex()]])
|
||||
}
|
||||
}
|
||||
|
||||
func checkMentionLinkEditorHandling(
|
||||
|
||||
Reference in New Issue
Block a user