From 3d6b9e1dc32fc90d3575a0d1753a7e8ec5243ad7 Mon Sep 17 00:00:00 2001 From: Matthew Chen Date: Wed, 2 Jan 2019 16:41:03 -0500 Subject: [PATCH] Fix build warning. --- SignalServiceKit/src/Messages/Interactions/TSInteraction.m | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/SignalServiceKit/src/Messages/Interactions/TSInteraction.m b/SignalServiceKit/src/Messages/Interactions/TSInteraction.m index 06f42ecc4..140d2e31b 100644 --- a/SignalServiceKit/src/Messages/Interactions/TSInteraction.m +++ b/SignalServiceKit/src/Messages/Interactions/TSInteraction.m @@ -1,5 +1,5 @@ // -// Copyright (c) 2018 Open Whisper Systems. All rights reserved. +// Copyright (c) 2019 Open Whisper Systems. All rights reserved. // #import "TSInteraction.h" @@ -172,8 +172,8 @@ NSString *NSStringFromOWSInteractionType(OWSInteractionType value) - (void)saveWithTransaction:(YapDatabaseReadWriteTransaction *)transaction { if (!self.uniqueId) { - OWSFailDebug(self.uniqueId); - self.uniqueId = [NSUUID new]; + OWSFailDebug(@"Missing uniqueId."); + self.uniqueId = [NSUUID new].UUIDString; } [super saveWithTransaction:transaction];