Skip to content

Commit 7ba2773

Browse files
committed
added comment for previous changes
1 parent f61d195 commit 7ba2773

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/modules/qbChat.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,7 @@ function ChatProxy(service, webrtcModule, conn) {
221221
if (typeof self.onContactListListener === 'function' && roster[userId] && roster[userId].subscription !== 'none') {
222222
Utils.safeCallbackCall(self.onContactListListener, userId, type);
223223
}
224+
// send initial presence if one of client (instance) goes offline
224225
if (userId === currentUserId) {
225226
connection.send($pres().tree());
226227
}

0 commit comments

Comments
 (0)