mirror of
				https://github.com/KevinMidboe/zoff.git
				synced 2025-10-29 18:00:23 +00:00 
			
		
		
		
	Improved how naming works on join
- XXXX changed name to YYYY doesn't happen if the user already is signed in - Signs automatically in on frontpage join
This commit is contained in:
		@@ -48,7 +48,7 @@ module.exports = function() {
 | 
			
		||||
        var in_list = false;
 | 
			
		||||
        var name = "";
 | 
			
		||||
        var short_id;
 | 
			
		||||
        Chat.get_name(guid, {announce: false});
 | 
			
		||||
        Chat.get_name(guid, {announce: false, socket: socket});
 | 
			
		||||
        var offline = false;
 | 
			
		||||
        var chromecast_object = false;
 | 
			
		||||
 | 
			
		||||
@@ -273,7 +273,7 @@ module.exports = function() {
 | 
			
		||||
                                });
 | 
			
		||||
                            });
 | 
			
		||||
                        }
 | 
			
		||||
                        Functions.remove_name_from_db(guid, name);
 | 
			
		||||
                        Functions.remove_name_from_db(guid);
 | 
			
		||||
                    });
 | 
			
		||||
                }
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user