From ae6f9fc87c3ba34d39fb6ef68e76d9747a2d088a Mon Sep 17 00:00:00 2001 From: Baris Usakli Date: Wed, 11 Sep 2013 13:04:04 -0400 Subject: [PATCH] changed notifications to use relative path --- src/threadTools.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/threadTools.js b/src/threadTools.js index e217f59b81..51c5b0d141 100644 --- a/src/threadTools.js +++ b/src/threadTools.js @@ -271,7 +271,7 @@ var RDB = require('./redis.js'), topics.getTopicField(tid, 'title', function(err, title) { topics.getTeaser(tid, function(err, teaser) { if (!err) { - notifications.create('' + teaser.username + ' has posted a reply to: "' + title + '"', null, '/topic/' + tid, 'topic:' + tid, function(nid) { + notifications.create('' + teaser.username + ' has posted a reply to: "' + title + '"', null, nconf.get('relative_path') + '/topic/' + tid, 'topic:' + tid, function(nid) { next(null, nid); }); } else next(err);