mirror of
				https://github.com/zulip/zulip.git
				synced 2025-10-31 12:03:46 +00:00 
			
		
		
		
	Two of the callers of `get_confirmations` uses a `QuerySet` of confirmation objects instead of their ids to filter the confirmations. This refactors `get_confirmations` so that it is typed to accept `Iterable[int]` that is a list of ids. It's worth noting that this might be less performant than the previous approach since it requires more queries when we force the ids into lists without having django creating a nested query. But the performance is not a concern here compared to clarity. Signed-off-by: Zixuan James Li <p359101898@gmail.com>