mirror of
				https://github.com/NodeBB/NodeBB.git
				synced 2025-11-03 20:45:58 +01:00 
			
		
		
		
	In the process of adding the delete button to the invitation panel. Apparently, the delete method doesn't work with the invitation items, so I might need to add some extra logic.
This commit is contained in:
		@@ -212,6 +212,10 @@ User.search = function(socket, data, callback) {
 | 
			
		||||
	});
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
User.deleteInvitation = function(socket, data, callback) {
 | 
			
		||||
	user.deleteInvitation(data.email, callback);
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
User.acceptRegistration = function(socket, data, callback) {
 | 
			
		||||
	user.acceptRegistration(data.username, callback);
 | 
			
		||||
};
 | 
			
		||||
@@ -221,4 +225,4 @@ User.rejectRegistration = function(socket, data, callback) {
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
module.exports = User;
 | 
			
		||||
module.exports = User;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user