Fix recent users function

A bug was introduced when modifying the functions to work with
participants in b4c92a39. A new field was added to the query, but the
offset was not modified when reading the username.
This commit is contained in:
Ivan Habunek 2019-10-23 13:51:56 +02:00 committed by Drew DeVault
parent 62b8fe82da
commit 53cb5b596c
1 changed files with 1 additions and 1 deletions

View File

@ -14,4 +14,4 @@ def get_recent_users(tracker, limit=20):
.order_by(Event.created.desc())
.limit(20))
return {e[1] for e in recent_user_events}
return {e[2] for e in recent_user_events}