mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-02 20:16:04 +01:00
inbetween some changes but asked to pull so I'll comment better later
This commit is contained in:
@@ -66,7 +66,7 @@ var RDB = require('./redis.js'),
|
||||
RDB.set('tid:' + tid + ':uid', global.uid);
|
||||
RDB.set('tid:' + tid + ':timestamp', new Date().getTime());
|
||||
|
||||
RDB.set('topic:slug:' + slugify(title) + ':tid', tid);
|
||||
RDB.set('topic:slug:' + tid + '/' + slugify(title) + ':tid', tid);
|
||||
|
||||
// Posts
|
||||
posts.create(content, function(pid) {
|
||||
@@ -78,8 +78,8 @@ var RDB = require('./redis.js'),
|
||||
|
||||
|
||||
global.socket.emit('event:alert', {
|
||||
title: 'Thank you for registering',
|
||||
message: 'You have successfully registered - welcome to nodebb!',
|
||||
title: 'Thank you for posting',
|
||||
message: 'You have successfully posted. Click here to view your post.',
|
||||
type: 'notify',
|
||||
timeout: 2000
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user