Merge branch 'charlesmchen/debugLogging'
This commit is contained in:
commit
f3d0cb49e0
|
@ -1251,7 +1251,7 @@ const CGFloat OWSMessageCellCornerRadius = 17;
|
|||
OWSAssert(self.delegate);
|
||||
|
||||
if (sender.state != UIGestureRecognizerStateRecognized) {
|
||||
DDLogInfo(@"%@ Ignoring tap on message: %@", self.logTag, self.viewItem.interaction.debugDescription);
|
||||
DDLogVerbose(@"%@ Ignoring tap on message: %@", self.logTag, self.viewItem.interaction.debugDescription);
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -1277,7 +1277,7 @@ const CGFloat OWSMessageCellCornerRadius = 17;
|
|||
OWSAssert(self.delegate);
|
||||
|
||||
if (sender.state != UIGestureRecognizerStateRecognized) {
|
||||
DDLogInfo(@"%@ Ignoring tap on message: %@", self.logTag, self.viewItem.interaction.debugDescription);
|
||||
DDLogVerbose(@"%@ Ignoring tap on message: %@", self.logTag, self.viewItem.interaction.debugDescription);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
@ -150,7 +150,8 @@ NSString *NSStringForOWSMessageCellType(OWSMessageCellType cellType)
|
|||
{
|
||||
switch (self.interaction.interactionType) {
|
||||
case OWSInteractionType_Unknown:
|
||||
OWSFail(@"%@ Unknown interaction type: %@", self.logTag, self.interaction.debugDescription);
|
||||
DDLogVerbose(@"%@ Unknown interaction type: %@", self.logTag, self.interaction.debugDescription);
|
||||
OWSFail(@"%@ Unknown interaction type", self.logTag);
|
||||
return ConversationViewLayoutAlignment_Center;
|
||||
case OWSInteractionType_IncomingMessage:
|
||||
return ConversationViewLayoutAlignment_Incoming;
|
||||
|
|
Loading…
Reference in New Issue