MELS: Simplify check condition

This commit is contained in:
manuroe
2017-07-17 10:17:16 +02:00
parent ee05036c8e
commit d4a1a22c24
+1 -1
View File
@@ -88,7 +88,7 @@ static NSAttributedString *readReceiptVerticalWhitespace = nil;
{
@synchronized(bubbleComponents)
{
if (self.hasAttributedTextMessage && !attributedTextMessage.length && bubbleComponents.count)
if (self.hasAttributedTextMessage && !attributedTextMessage.length)
{
// Attributed text message depends on the room read receipts which must be retrieved on the main thread to prevent us from race conditions.
// Check here the current thread, this is just a sanity check because the attributed text message