Skip to content

Commit 71d3c85

Browse files
author
dmlenton
committed
Replaces links with note to read more in the app
1 parent d85617b commit 71d3c85

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

models/queue.js

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -95,15 +95,17 @@ function constructEmail(options, done) {
9595
link = options.protocol + '://' + options.hostname + '/community/#ask_' + options.ask.id;
9696
if (options.ask.type === 2)
9797
link = options.protocol + '://' + options.hostname + '/community/#ask_' + options.ask.ask_id;
98-
text = text + '<p>Read more here: <a href="' + link + '">' + link + '</a></p>';
99-
// title = 'ASK: ' + type;
100-
console.log(text);
98+
// Temporarily disable link until deep linking works
99+
//text = text + '<p>Read more here: <a href="' + link + '">' + link + '</a></p>';
100+
text = text + '<p>Read more in the app</p>';
101101
}
102102
if (options.subject) {
103103
const s = options.subject;
104104
link = options.protocol + '://' + options.hostname + '/subject/' + s.id + '/';
105-
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 the full article in the app<p>';
107109
}
108110
// HTML text
109111
let htmlText = '';

0 commit comments

Comments
 (0)