From b7e61f21ca50b33d8cba3f74f30d5c39bb66fe54 Mon Sep 17 00:00:00 2001 From: bdistin Date: Sat, 11 Aug 2018 11:24:30 -0500 Subject: [PATCH] fix(PresenceStore): pass user id as extra (#2733) fix #2731 --- src/stores/PresenceStore.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stores/PresenceStore.js b/src/stores/PresenceStore.js index dc758d3c3..15fc9f124 100644 --- a/src/stores/PresenceStore.js +++ b/src/stores/PresenceStore.js @@ -12,7 +12,7 @@ class PresenceStore extends DataStore { add(data, cache) { const existing = this.get(data.user.id); - return existing ? existing.patch(data) : super.add(data, cache); + return existing ? existing.patch(data) : super.add(data, cache, { id: data.user.id }); } /**