aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/whoReacted.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/whoReacted.tsx')
-rw-r--r--src/plugins/whoReacted.tsx7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/plugins/whoReacted.tsx b/src/plugins/whoReacted.tsx
index a260bac..8ab1c5f 100644
--- a/src/plugins/whoReacted.tsx
+++ b/src/plugins/whoReacted.tsx
@@ -121,6 +121,13 @@ export default definePlugin({
const reactions = getReactionsWithQueue(message, emoji, type);
const users = Object.values(reactions).filter(Boolean) as User[];
+ for (const user of users) {
+ FluxDispatcher.dispatch({
+ type: "USER_UPDATE",
+ user
+ });
+ }
+
return (
<div
style={{ marginLeft: "0.5em", transform: "scale(0.9)" }}