Don't leak mentions in DMs
Changelog-Fixed: Don't leak mentions in DMs
This commit is contained in:
@@ -120,7 +120,7 @@ struct DMChatView: View {
|
||||
func send_message() {
|
||||
let tags = [["p", pubkey]]
|
||||
let post_blocks = parse_post_blocks(content: dms.draft)
|
||||
let post_tags = make_post_tags(post_blocks: post_blocks, tags: tags)
|
||||
let post_tags = make_post_tags(post_blocks: post_blocks, tags: tags, silent_mentions: true)
|
||||
let content = render_blocks(blocks: post_tags.blocks)
|
||||
|
||||
guard let dm = create_dm(content, to_pk: pubkey, tags: post_tags.tags, keypair: damus_state.keypair) else {
|
||||
|
||||
Reference in New Issue
Block a user