Revert "fix: regression that dropped q tags from quote reposts"
This reverts commit 5865b000c0.
This commit is contained in:
@@ -153,13 +153,7 @@ final class PostViewTests: XCTestCase {
|
||||
XCTAssertNil(newManuallyEditedContent.attribute(.link, at: 11, effectiveRange: nil))
|
||||
})
|
||||
}
|
||||
|
||||
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 testMentionLinkEditorHandling_noWhitespaceAfterLink2_addsWhitespace() {
|
||||
var content: NSMutableAttributedString
|
||||
|
||||
|
||||
Reference in New Issue
Block a user