mirror of
				https://github.com/pierre42100/ComunicWeb
				synced 2025-11-04 04:04:20 +00:00 
			
		
		
		
	Automatically retrieve calls configuration
This commit is contained in:
		@@ -77,12 +77,18 @@ ComunicWeb.user.userLogin = {
 | 
			
		||||
                //Perform next action
 | 
			
		||||
                afterGetCurrentUserID(0);
 | 
			
		||||
            }
 | 
			
		||||
            else{
 | 
			
		||||
            else
 | 
			
		||||
            {
 | 
			
		||||
                //Update user ID
 | 
			
		||||
                ComunicWeb.user.userLogin.__userID = result.userID;
 | 
			
		||||
 | 
			
		||||
                //Perform next action
 | 
			
		||||
                afterGetCurrentUserID(result.userID)
 | 
			
		||||
                afterGetCurrentUserID(result.userID);
 | 
			
		||||
 | 
			
		||||
                //Notify about the event
 | 
			
		||||
                SendEvent("got_user_id", {
 | 
			
		||||
                    userID: result.userID
 | 
			
		||||
                });
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
        };
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user