Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
realm_activity: Correct the "messages sent" column.
Alex Vandiverd4607437057c
diff --git a/corporate/views/realm_activity.py b/corporate/views/realm_activity.pyindex 648a369bb3b..7a03aa54990 100644--- a/corporate/views/realm_activity.py+++ b/corporate/views/realm_activity.py@@ -80,7 +80,7 @@ def get_user_activity_summary(records: Collection[UserActivity]) -> UserActivityheard_from = max(visit, heard_from)if ("send_message" in query) or re.search("/api/.*/external/.*", query):- messages += 1+ messages += record.countif last_sent is None:last_sent = visitelse: