mirror of
https://github.com/danbulant/discord.js
synced 2026-05-27 14:02:02 +00:00
parent
e2ceea65ba
commit
b7e61f21ca
1 changed files with 1 additions and 1 deletions
|
|
@ -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 });
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue