diff --git a/Signal/src/ViewControllers/MessageMetadataViewController.swift b/Signal/src/ViewControllers/MessageMetadataViewController.swift index 3cabec15a..98d081c41 100644 --- a/Signal/src/ViewControllers/MessageMetadataViewController.swift +++ b/Signal/src/ViewControllers/MessageMetadataViewController.swift @@ -447,14 +447,13 @@ class MessageMetadataViewController: OWSViewController { let notifications = self.databaseConnection.beginLongLivedReadTransaction() -// TODO: I can't figure out what the !@#$%&^* auto-generated Swift interface to this method is. -// guard self.databaseConnection.hasChange(forKey:message.uniqueId, -// inCollection:TSInteraction.collection, -// inNotifications:notifications) else { -// Logger.debug("\(TAG) No relevant changes.") -// return -// } -// + guard self.databaseConnection.hasChange(forKey:message.uniqueId, + inCollection:TSInteraction.collection(), + in:notifications) else { + Logger.debug("\(TAG) No relevant changes.") + return + } + updateDBConnectionAndMessageToLatest() updateContent()