mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	home.py: move event_queue_id as queue_id to register_ret.
Simplify the page_params generation logic #3853
This commit is contained in:
		@@ -88,7 +88,7 @@ Socket.prototype = {
 | 
			
		||||
    },
 | 
			
		||||
 | 
			
		||||
    _get_next_req_id: function Socket__get_next_req_id() {
 | 
			
		||||
        var req_id = page_params.event_queue_id + ':' + this._next_req_id_counter;
 | 
			
		||||
        var req_id = page_params.queue_id + ':' + this._next_req_id_counter;
 | 
			
		||||
        this._next_req_id_counter += 1;
 | 
			
		||||
        return req_id;
 | 
			
		||||
    },
 | 
			
		||||
@@ -214,7 +214,7 @@ Socket.prototype = {
 | 
			
		||||
            $(function () {
 | 
			
		||||
                var request = that._make_request('auth');
 | 
			
		||||
                request.msg = {csrf_token: csrf_token,
 | 
			
		||||
                               queue_id: page_params.event_queue_id,
 | 
			
		||||
                               queue_id: page_params.queue_id,
 | 
			
		||||
                               status_inquiries: _.keys(that._requests)};
 | 
			
		||||
                request.success = function (resp) {
 | 
			
		||||
                  that._is_authenticated = true;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user