From 980f4da66923d823bfa31b911e69fe821528c28f Mon Sep 17 00:00:00 2001 From: Shivam Mishra Date: Thu, 30 May 2024 13:09:04 +0530 Subject: [PATCH] feat: allow google as a provider --- app/models/channel/email.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/models/channel/email.rb b/app/models/channel/email.rb index 9518599f2..274d19fb8 100644 --- a/app/models/channel/email.rb +++ b/app/models/channel/email.rb @@ -57,6 +57,10 @@ class Channel::Email < ApplicationRecord provider == 'microsoft' end + def google? + provider == 'google' + end + private def ensure_forward_to_email