mirror of
				https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
				synced 2025-11-04 04:12:45 +00:00 
			
		
		
		
	add flag to socketio, hope it will improve firefox compatibility
This commit is contained in:
		@@ -1,7 +1,7 @@
 | 
			
		||||
class AppClient {
 | 
			
		||||
  constructor(currentUserId) {
 | 
			
		||||
    if (currentUserId) {
 | 
			
		||||
      this.socket = io({transports: ['websocket']});
 | 
			
		||||
      this.socket = io({transports: ['websocket'], upgrade: false});
 | 
			
		||||
      this.users = {};
 | 
			
		||||
      this.users.self = this.loadUser(currentUserId);
 | 
			
		||||
      this.users.self.eventListeners.job.addEventListener((eventType, payload) => this.jobEventHandler(eventType, payload));
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user