realm_activity: Correct the "messages sent" column.

This commit is contained in:
Alex Vandiver 2024-03-09 01:56:59 -05:00 committed by Tim Abbott
parent 73370087ed
commit d460743705
1 changed files with 1 additions and 1 deletions

View File

@ -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: