mirror of
				https://github.com/NodeBB/NodeBB.git
				synced 2025-10-31 02:55:58 +01:00 
			
		
		
		
	closes #176
This commit is contained in:
		| @@ -213,7 +213,6 @@ var	RDB = require('./redis.js'), | ||||
|  | ||||
| 			Posts.create(uid, tid, content, images, function(postData) { | ||||
| 				if (postData) { | ||||
| 					topics.addPostToTopic(tid, postData.pid); | ||||
|  | ||||
| 					topics.markUnRead(tid); | ||||
|  | ||||
| @@ -280,6 +279,7 @@ var	RDB = require('./redis.js'), | ||||
| 						 | ||||
| 						RDB.hmset('post:' + pid, postData); | ||||
|  | ||||
| 						topics.addPostToTopic(tid, pid); | ||||
| 						topics.increasePostCount(tid); | ||||
| 						topics.updateTimestamp(tid, timestamp); | ||||
|  | ||||
|   | ||||
| @@ -612,7 +612,6 @@ marked.setOptions({ | ||||
|  | ||||
| 				posts.create(uid, tid, content, images, function(postData) { | ||||
| 					if (postData) { | ||||
| 						RDB.lpush(schema.topics(tid).posts, postData.pid); | ||||
|  | ||||
| 						// Auto-subscribe the post creator to the newly created topic | ||||
| 						threadTools.toggleFollow(tid, uid); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user