You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 11, 2020. It is now read-only.
client's cleansession flag is false and session was stored, but sessionPresent is not send, paho client always set sessionPresent false, i review the client.js code and i dont find the sessionPresent flag...
connack never send sessionPresent flag... i can make a patch, but is necesary change the callback and persistence code, some like this:
that.server.restoreClientSubscriptions(that,function(session_present){client.connack({returnCode: 0,// maybe session_present is null, custom old persistence engine// or not persistence definedsessionPresent: session_present ? true : false});that.logger.info("client connected");that.server.emit("clientConnected",that);that.server.forwardOfflinePackets(that);});
client's cleansession flag is false and session was stored, but sessionPresent is not send, paho client always set sessionPresent false, i review the client.js code and i dont find the sessionPresent flag...
connack never send sessionPresent flag... i can make a patch, but is necesary change the callback and persistence code, some like this:
in persistence/abstract.js
what do you think about this?
The text was updated successfully, but these errors were encountered: