fix pattern match on user registration
Fixes an issue in User.register
, the returned value of Emails.Mailer.deliver_async
was trying to be matched to {:ok, _}
, but it will return the value of PleromaJobQueue.enqueue
which will just be :ok
Changes the return value of try_send_confirmation_email
to be of the form {atom, atom}
to remain consistent
Edited by Sadposter