aboutsummaryrefslogtreecommitdiff
path: root/src/db.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/db.js')
-rw-r--r--src/db.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/db.js b/src/db.js
index e16c827..2e3de3c 100644
--- a/src/db.js
+++ b/src/db.js
@@ -90,7 +90,7 @@ const getUsers = async (roomId) => {
data.rooms[roomHash].events.forEach((event) => {
if (event.type === 'introduction') {
- userIds.push(event.userId)
+ userIds.push(event.data.userId)
}
})