mirror of
				https://github.com/NodeBB/NodeBB.git
				synced 2025-10-31 11:05:54 +01:00 
			
		
		
		
	run npm install. starting rss atom feeds of topics. fixed bug in topics where new topics created were not being saved properly
This commit is contained in:
		| @@ -6,6 +6,7 @@ var	RDB = require('./redis.js'), | ||||
| 	favourites = require('./favourites.js'), | ||||
| 	config = require('../config.js'), | ||||
| 	threadTools = require('./threadTools.js'), | ||||
| 	feed = require('./feed.js'), | ||||
| 	async = require('async'); | ||||
|  | ||||
| marked.setOptions({ | ||||
| @@ -256,12 +257,14 @@ marked.setOptions({ | ||||
| 					 | ||||
| 					RDB.incr('tid:' + tid + ':postcount'); | ||||
|  | ||||
|  | ||||
| 					user.getUserFields(uid, ['username'], function(data) { | ||||
| 					user.getUserFields(uid, ['username'], function(data) { // todo parallel | ||||
| 						//add active users to this category | ||||
| 						RDB.get('tid:' + tid + ':cid', function(err, cid) { | ||||
| 							RDB.handle(err); | ||||
|  | ||||
|  | ||||
| 							feed.updateTopic(tid, cid); | ||||
|  | ||||
| 							// this is a bit of a naive implementation, defn something to look at post-MVP | ||||
| 							RDB.scard('cid:' + cid + ':active_users', function(amount) { | ||||
| 								if (amount > 10) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user