mirror of
https://github.com/zulip/zulip.git
synced 2025-11-08 07:52:19 +00:00
onboarding: Add turtle reaction to an initial message.
This commit is contained in:
@@ -263,7 +263,9 @@ def build_custom_checkers(by_lang):
|
||||
'''},
|
||||
# Directly fetching Message objects in e.g. views code is often a security bug.
|
||||
{'pattern': '[^r][M]essage.objects.get',
|
||||
'exclude': set(["zerver/tests", "zerver/worker/queue_processors.py"]),
|
||||
'exclude': set(["zerver/tests",
|
||||
"zerver/lib/onboarding.py",
|
||||
"zerver/worker/queue_processors.py"]),
|
||||
'description': 'Please use access_message() to fetch Message objects',
|
||||
},
|
||||
{'pattern': '[S]tream.objects.get',
|
||||
|
||||
Reference in New Issue
Block a user