mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	event_schema: Use event_dict_type for user_topic_event.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
		
				
					committed by
					
						
						Tim Abbott
					
				
			
			
				
	
			
			
			
						parent
						
							6416355952
						
					
				
				
					commit
					d512290b15
				
			@@ -428,9 +428,8 @@ muted_topics_event = event_dict_type(
 | 
			
		||||
)
 | 
			
		||||
check_muted_topics = make_checker(muted_topics_event)
 | 
			
		||||
 | 
			
		||||
user_topic_event = DictType(
 | 
			
		||||
user_topic_event = event_dict_type(
 | 
			
		||||
    required_keys=[
 | 
			
		||||
        ("id", int),
 | 
			
		||||
        ("type", Equals("user_topic")),
 | 
			
		||||
        ("stream_id", int),
 | 
			
		||||
        ("topic_name", str),
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user