I am using the NodeJS version of Drupalchat, but the users are not see one another.

From the nodejs log:

getNodejsSessionIdsFromUid { uid: '1', sessionIds: [] }
No active sessions for uid: 1
Authenticating client with key "357e3389deb93e9f6e7ae56f89c4fc12"
Reusing existing authentication data for key: 357e3389deb93e9f6e7ae56f89c4fc12 , client id: 939273623773266104
sendPresenceChangeNotification 1 online { '1': [], '5': [] }
Auth - 1
Sent message to client 939273623773266104
Added - 1
Added channels for uid 1: drupalchat_0,nodejs_user_1,nodejs_ajax_broadcast,watchdog_dblog,drupalchat_1
setupClientConnection { '1': [], '5': [] }
getNodejsSessionIdsFromUid { uid: '1', sessionIds: [ '939273623773266104' ] }
Added channel 'drupalchat_1' to sessionIds 939273623773266104
Out - 5
Sent message to client 939273623773266104
Cleaning up after socket id 210239521769574842 uid 5
Authenticating client with key "07480c9ef5b2c97a8598d06e171f0eb6"
Reusing existing authentication data for key: 07480c9ef5b2c97a8598d06e171f0eb6 , client id: 2462302971193808336
Auth - 5
Sent message to client 2462302971193808336
Added - 5
Added channels for uid 5: drupalchat_0,nodejs_user_5,nodejs_ajax_broadcast,drupalchat_5
setupClientConnection { '1': [], '5': [] }
getNodejsSessionIdsFromUid { uid: '5', sessionIds: [ '2462302971193808336' ] }
Added channel 'drupalchat_5' to sessionIds 2462302971193808336
getNodejsSessionIdsFromUid { uid: '5', sessionIds: [ '2462302971193808336' ] }

Not 100% sure what's going on here, but it seems to me that it adds user 1 to drupalchat_1, user 5 to 'drupalchat_5'. Should they not be the same, so they can see each other ?

Comments

darklrd’s picture

Status: Active » Closed (duplicate)