We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 51a6265 commit 4cb466fCopy full SHA for 4cb466f
chat/js/client/client.js
@@ -224,7 +224,8 @@ Class.Define('Chat', {
224
},
225
_handleServerUserLogin: function (data, live) {
226
if (live) this._updateOnlineUsers(data);
227
- if (!live) this._addMessage('notify', data.user + ' has joined chat');
+ if (!live || (live && data.id !== this._id))
228
+ this._addMessage('notify', data.user + ' has joined chat');
229
if (live) this._updateRecepients(data.onlineUsers);
230
231
_handleServerUserLogout: function (data, live) {
0 commit comments