mirror of
https://github.com/zulip/zulip.git
synced 2025-11-06 15:03:34 +00:00
typing: Avoid redefinition of variables with different types.
Signed-off-by: Zixuan James Li <p359101898@gmail.com>
This commit is contained in:
committed by
Tim Abbott
parent
5fd278bf09
commit
c567e44408
@@ -120,11 +120,12 @@ def exclude_topic_mutes(
|
||||
# by not considering topic mutes outside the stream.
|
||||
query = query.filter(stream_id=stream_id)
|
||||
|
||||
query = query.values(
|
||||
"recipient_id",
|
||||
"topic_name",
|
||||
rows = list(
|
||||
query.values(
|
||||
"recipient_id",
|
||||
"topic_name",
|
||||
)
|
||||
)
|
||||
rows = list(query)
|
||||
|
||||
if not rows:
|
||||
return conditions
|
||||
|
||||
Reference in New Issue
Block a user