Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
...
def conversation_exist?
Private::Conversation.between_users(current_user.id, @post.user.id).present?
end
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment