Skip to content

Commit 7400b16

Browse files
committed
fix: status renamed to userStatus
1 parent 2a96bbc commit 7400b16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ class SocketServer extends EventEmitter{
144144
if (!socket.config.user_id ) {
145145
socket.config.user_id = user_id
146146

147-
this.emit('userStatus', socket, {user_id, status: 'on', organization_id});
147+
this.emit('userStatus', socket, {user_id, userStatus: 'on', organization_id});
148148
}
149149
}
150150

0 commit comments

Comments
 (0)