mirror of
				https://github.com/NodeBB/NodeBB.git
				synced 2025-10-31 02:55:58 +01:00 
			
		
		
		
	reverted change where post title was sanitized on saving (which didn't
seem to work), now sanitizing post title on output
This commit is contained in:
		| @@ -264,9 +264,9 @@ var RDB = require('./redis.js'), | ||||
| 						var socketData = { | ||||
| 							posts: [postData] | ||||
| 						}; | ||||
| 						io.sockets. in ('topic_' + tid).emit('event:new_post', socketData); | ||||
| 						io.sockets. in ('recent_posts').emit('event:new_post', socketData); | ||||
| 						io.sockets. in ('user/' + uid).emit('event:new_post', socketData); | ||||
| 						io.sockets.in('topic_' + tid).emit('event:new_post', socketData); | ||||
| 						io.sockets.in('recent_posts').emit('event:new_post', socketData); | ||||
| 						io.sockets.in('user/' + uid).emit('event:new_post', socketData); | ||||
| 					}); | ||||
|  | ||||
| 					callback(null, 'Reply successful'); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user