     }
     
     func processEvent(_ event: MXEvent) {
-        guard let content = originalContents[event.eventId], let mxSession = NotificationService.mxSession else {
+        guard let content = bestAttemptContents[event.eventId], let mxSession = NotificationService.mxSession else {
             self.fallbackToOriginalContent(forEventId: event.eventId)
             return
         }

    /// Content handlers. Keys are eventId's
    var contentHandlers: [String: ((UNNotificationContent) -> Void)] = [:]
    
    /// Original contents. Keys are eventId's
    var originalContents: [String: UNMutableNotificationContent] = [:]
    
    /// Cached events. Keys are eventId's
    var cachedEvents: [String: MXEvent] = [:]

    func fallbackToOriginalContent(forEventId eventId: String) {
        NSLog("[NotificationService] fallbackToOriginalContent: method called.")
        
        guard let content = bestAttemptContents[eventId] else {
            NSLog("[NotificationService] fallbackToBestAttemptContent: Best attempt content is missing.")
            return
        }
        
