Fixed a bug where the "DataExtractionNotification" messages weren't correctly setting their tmestamps

pull/674/head
Morgan Pretty 3 years ago
parent 6d94866110
commit 84ccb63b35

@ -21,7 +21,11 @@ extension MessageReceiver {
case .screenshot: return .infoScreenshotNotification
case .mediaSaved: return .infoMediaSavedNotification
}
}()
}(),
timestampMs: (
message.sentTimestamp.map { Int64($0) } ??
Int64(floor(Date().timeIntervalSince1970 * 1000))
)
).inserted(db)
}
}

Loading…
Cancel
Save