Skip to content

Commit

Permalink
Prevent crashes when mentioning users on macOS (#2630)
Browse files Browse the repository at this point in the history
Co-authored-by: Stefan Ceriu <stefanc@matrix.org>
  • Loading branch information
Velin92 and stefanceriu authored Apr 3, 2024
1 parent 8252795 commit b4d9600
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ protocol PillAttachmentViewProviderDelegate: AnyObject {
func invalidateTextAttachmentsDisplay()
}

final class PillAttachmentViewProvider: NSTextAttachmentViewProvider {
final class PillAttachmentViewProvider: NSTextAttachmentViewProvider, NSSecureCoding {
private weak var delegate: PillAttachmentViewProviderDelegate?

// MARK: - Override
Expand Down
1 change: 1 addition & 0 deletions changelog.d/2627.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Prevent crashes when mentioning users when running on the Mac

0 comments on commit b4d9600

Please sign in to comment.