Compare commits
No commits in common. "master" and "feature/gmail-oauth" have entirely different histories.
master
...
feature/gm
|
@ -66,7 +66,7 @@ defmodule Entendu.UserFromAuth do
|
||||||
end
|
end
|
||||||
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)
|
do: email_matches?(recipient, emails) || username_matches?(recipient, username)
|
||||||
|
|
||||||
defp email_matches?(recipient, emails),
|
defp email_matches?(recipient, emails),
|
||||||
|
|
Loading…
Reference in New Issue