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