You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
text=s.intro+'<p>Read the full article here: <a href="'+link+'">'+link+'</a></p>';
106
-
// title = s.title;
105
+
text=s.intro;
106
+
// Temporarily disable link until deep linking works
107
+
// text = text + '<p>Read the full article here: <a href="' + link + '">' + link + '</a></p>';
108
+
text=text+'<p>Read more in the app<p>';
107
109
}
108
110
// HTML text
109
111
lethtmlText='';
@@ -197,7 +199,7 @@ function sendEmail(options, done) {
197
199
options.profiles.forEach((profile)=>{
198
200
audiences.push(profile.profile_id);
199
201
});
200
-
db.get().query('SELECT DISTINCT account.email FROM clcdc.account_profile_settings INNER JOIN account ON account_profile_settings.account_id = account.id WHERE account.client_id = ? AND notifications_sendemail = 1 AND notifications_on = 1 AND profile_id IN (?) AND account.send_email = 1',[options.appId,audiences],(err,results)=>{
202
+
db.get().query('SELECT DISTINCT account.email FROM clcdc.account_profile_settings INNER JOIN account ON account_profile_settings.account_id = account.id WHERE account.client_id = ? AND notifications_sendemail = 1 AND notifications_on = 1 AND profile_id IN (?) AND account.sendemail = 1',[options.appId,audiences],(err,results)=>{
0 commit comments