mirror of
				https://github.com/NodeBB/NodeBB.git
				synced 2025-10-31 02:55:58 +01:00 
			
		
		
		
	feat: #7550, show message if post is queued when js is disabled
This commit is contained in:
		| @@ -77,7 +77,7 @@ exports.post = async function (req, res) { | ||||
| 			throw new Error('[[error:invalid-data]]'); | ||||
| 		} | ||||
| 		if (result.queued) { | ||||
| 			return res.redirect((nconf.get('relative_path') || '/')); | ||||
| 			return res.redirect((nconf.get('relative_path') || '/') + '?noScriptMessage=[[success:post-queued]]'); | ||||
| 		} | ||||
| 		const uid = result.uid ? result.uid : result.topicData.uid; | ||||
| 		user.updateOnlineUsers(uid); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user