mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	actions: Remove realm argument to internal_send_stream_message.
The argument is redundant.
This commit is contained in:
		
				
					committed by
					
						
						Tim Abbott
					
				
			
			
				
	
			
			
			
						parent
						
							09fc79f911
						
					
				
				
					commit
					51d7f24d20
				
			@@ -202,7 +202,6 @@ class ZulipEmailForwardUserError(ZulipEmailForwardError):
 | 
			
		||||
 | 
			
		||||
def send_zulip(sender: UserProfile, stream: Stream, topic: str, content: str) -> None:
 | 
			
		||||
    internal_send_stream_message(
 | 
			
		||||
        stream.realm,
 | 
			
		||||
        sender,
 | 
			
		||||
        stream,
 | 
			
		||||
        truncate_topic(topic),
 | 
			
		||||
@@ -431,7 +430,6 @@ def process_missed_message(to: str, message: EmailMessage) -> None:
 | 
			
		||||
    if recipient.type == Recipient.STREAM:
 | 
			
		||||
        stream = get_stream_by_id_in_realm(recipient.type_id, user_profile.realm)
 | 
			
		||||
        internal_send_stream_message(
 | 
			
		||||
            user_profile.realm,
 | 
			
		||||
            user_profile,
 | 
			
		||||
            stream,
 | 
			
		||||
            topic,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user