mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	settings: Add push notifications for the followed topics.
This commit makes it possible for users to control the push notifications for messages sent to followed topics via a global notification setting. There is no support for configuring this setting through the UI yet.
This commit is contained in:
		
				
					committed by
					
						
						Tim Abbott
					
				
			
			
				
	
			
			
			
						parent
						
							5e5538886f
						
					
				
				
					commit
					d73c715dc2
				
			@@ -196,6 +196,9 @@ def json_change_settings(
 | 
			
		||||
    enable_followed_topic_email_notifications: Optional[bool] = REQ(
 | 
			
		||||
        json_validator=check_bool, default=None
 | 
			
		||||
    ),
 | 
			
		||||
    enable_followed_topic_push_notifications: Optional[bool] = REQ(
 | 
			
		||||
        json_validator=check_bool, default=None
 | 
			
		||||
    ),
 | 
			
		||||
    notification_sound: Optional[str] = REQ(default=None),
 | 
			
		||||
    enable_desktop_notifications: Optional[bool] = REQ(json_validator=check_bool, default=None),
 | 
			
		||||
    enable_sounds: Optional[bool] = REQ(json_validator=check_bool, default=None),
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user