Skip to content
This repository has been archived by the owner on Aug 30, 2021. It is now read-only.

Commit

Permalink
fix(chat): fixed profile image not displaying properly on disconnect
Browse files Browse the repository at this point in the history
hotfix to make sure that the profileImageURL is sent on disconnect
  • Loading branch information
9ac345a5509a authored Aug 7, 2016
1 parent 64392b1 commit 24b6e3a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/chat/server/sockets/chat.server.socket.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ module.exports = function (io, socket) {
type: 'status',
text: 'disconnected',
created: Date.now(),
profileImageURL: socket.request.user.profileImageURL,
username: socket.request.user.username
});
});
Expand Down

0 comments on commit 24b6e3a

Please sign in to comment.