Skip to content

Instantly share code, notes, and snippets.

@bartkozal
Created September 16, 2016 21:28
Show Gist options
  • Save bartkozal/7f8ff0f67bdad1dfdce2a49349f7f197 to your computer and use it in GitHub Desktop.
Save bartkozal/7f8ff0f67bdad1dfdce2a49349f7f197 to your computer and use it in GitHub Desktop.
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