mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 14:03:30 +00:00 
			
		
		
		
	@@ -11,7 +11,7 @@ var exports = {};
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    function add_sub(stream_name, $status_message) {
 | 
					    function add_sub(stream_name, $status_message) {
 | 
				
			||||||
        channel.post({
 | 
					        channel.post({
 | 
				
			||||||
            url: '/users/me/subscriptions',
 | 
					            url: '/json/users/me/subscriptions',
 | 
				
			||||||
            data: {
 | 
					            data: {
 | 
				
			||||||
                subscriptions: JSON.stringify([{'name': stream_name}])
 | 
					                subscriptions: JSON.stringify([{'name': stream_name}])
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user