CWilliamL
CWilliamL
Clean flag set to false. Client can get back the messages that are not got previously.
In my future development the payload may not have the time information so may not be order using it. Additionally, I tried another mqtt broker and it do not have...
> I think this could be easily fixed by moving [client.resume](https://github.com/moscajs/aedes/blob/c9bbf33da70c01c2f1422b79384b0b9108738468/lib/handlers/connect.js#L229) at the end of the emptyQueue function Just try to move client.resume() to like below. The result is the...
> @CWilliamL You should edit it like this: > > ```js > function emptyQueue (arg, done) { > const client = this.client > const persistence = client.broker.persistence > const outgoing...
> The other solution would be to move the `emptyQueue` before the `fetchSubs` metohd in [connectActions](https://github.com/moscajs/aedes/blob/c9bbf33da70c01c2f1422b79384b0b9108738468/lib/handlers/connect.js#L22) > > But I dunno if this respects [specs](http://docs.oasis-open.org/mqtt/mqtt/v3.1.1/os/mqtt-v3.1.1-os.html). @mcollina thoughts? Just tried. The...