Respond to CR.

// FREEBIE
pull/1/head
Matthew Chen 8 years ago
parent cf4aeac0ec
commit d28a014e2d

@ -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()

Loading…
Cancel
Save