Created
September 16, 2016 21:28
-
-
Save bartkozal/7f8ff0f67bdad1dfdce2a49349f7f197 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private func isSenderSameAsRecipient() -> Bool { | |
guard let conversation = activeConversation else { return false } | |
guard let message = conversation.selectedMessage else { return false } | |
return message.senderParticipantIdentifier == conversation.localParticipantIdentifier | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment