mirror of
https://github.com/zulip/zulip.git
synced 2025-11-06 15:03:34 +00:00
Don't log tabbott/extra test messages.
(imported from commit 8e1adecca14e5440298fd93b41e1a43da37c807f)
This commit is contained in:
@@ -418,6 +418,7 @@ def log_event(event):
|
||||
fcntl.flock(lock, fcntl.LOCK_UN)
|
||||
|
||||
def log_message(message):
|
||||
if not message.sending_client.name.startswith("test:"):
|
||||
log_event(message.to_log_dict())
|
||||
|
||||
def do_send_message(message, no_log=False):
|
||||
|
||||
Reference in New Issue
Block a user