diff --git a/Images/Sources/Images/AuthorAvatarDownloader.swift b/Images/Sources/Images/AuthorAvatarDownloader.swift index 9d105ee7d..db6e8df9e 100644 --- a/Images/Sources/Images/AuthorAvatarDownloader.swift +++ b/Images/Sources/Images/AuthorAvatarDownloader.swift @@ -52,6 +52,9 @@ public extension Notification.Name { } @objc func imageDidBecomeAvailable(_ note: Notification) { + + assert(Thread.isMainThread) + guard let avatarURL = note.userInfo?[ImageDownloader.imageURLKey] as? String else { return }