Fix overzealous assert.

This commit is contained in:
Matthew Chen 2019-07-19 16:20:09 -03:00
parent c1dd407e80
commit 2b732fdea0

View File

@ -156,7 +156,8 @@ public class MessageSenderJobQueue: NSObject, JobQueue {
return
}
guard let interaction = TSInteraction.anyFetch(uniqueId: messageId, transaction: transaction) else {
owsFailDebug("Missing interaction")
// Interaction may have been deleted.
Logger.warn("Missing interaction")
return
}
block(interaction, stop)