Expand all notifications.

This commit is contained in:
James Cole
2024-12-14 08:03:18 +01:00
parent 5520992861
commit 03e9e3dbdb
8 changed files with 154 additions and 42 deletions

View File

@@ -24,7 +24,6 @@ declare(strict_types=1);
namespace FireflyIII\Notifications\User;
use FireflyIII\Notifications\ReturnsAvailableChannels;
use FireflyIII\User;
use Illuminate\Bus\Queueable;
use Illuminate\Notifications\Messages\MailMessage;
@@ -64,6 +63,7 @@ class UserRegistration extends Notification
*/
public function via(User $notifiable)
{
return ReturnsAvailableChannels::returnChannels('user', $notifiable);
// other settings will not be available at this point anyway.
return ['mail'];
}
}