Compare commits

..

No commits in common. "master" and "feature/gmail-oauth" have entirely different histories.

2 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ defmodule Entendu.UserFromAuth do
end
end
def can_access?(recipient, %{emails: emails, username: username}),
def can_access?(recipient, %{emails: emails, username: username} = stuff),
do: email_matches?(recipient, emails) || username_matches?(recipient, username)
defp email_matches?(recipient, emails),