mirror of https://github.com/zulip/zulip.git
realm_activity: Correct the "messages sent" column.
This commit is contained in:
parent
73370087ed
commit
d460743705
|
@ -80,7 +80,7 @@ def get_user_activity_summary(records: Collection[UserActivity]) -> UserActivity
|
|||
heard_from = max(visit, heard_from)
|
||||
|
||||
if ("send_message" in query) or re.search("/api/.*/external/.*", query):
|
||||
messages += 1
|
||||
messages += record.count
|
||||
if last_sent is None:
|
||||
last_sent = visit
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue