mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
message: Use new setting for checking stream posting permissions.
This commit is contained in:
@@ -379,11 +379,6 @@ python_rules = RuleList(
|
||||
{
|
||||
"pattern": "get_stream[(]",
|
||||
"include_only": {"zerver/views/", "zerver/actions/"},
|
||||
"exclude_line": {
|
||||
# This one in check_message is kinda terrible, since it's
|
||||
# how most instances are written, but better to exclude something than nothing
|
||||
("zerver/actions/message_send.py", "stream = get_stream(stream_name, realm)"),
|
||||
},
|
||||
"description": "Please use access_stream_by_*() to fetch Stream objects",
|
||||
},
|
||||
{
|
||||
|
Reference in New Issue
Block a user