mirror of https://github.com/zulip/zulip.git
ruff: Fix PLR1711 Useless `return` statement at end of function.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
parent
870238206c
commit
869ea542fa
|
@ -240,7 +240,6 @@ def check_stream_access_based_on_stream_post_policy(sender: UserProfile, stream:
|
|||
and sender.is_provisional_member
|
||||
):
|
||||
raise JsonableError(_("New members cannot send to this stream."))
|
||||
return
|
||||
|
||||
|
||||
def access_stream_for_send_message(
|
||||
|
|
Loading…
Reference in New Issue