improve device state consistency (#831)

Signed-off-by: Denis barbaron <denis.barbaron@orange.com>
Co-authored-by: Karol Wrótniak <karol.wrotniak@droidsonroids.pl>
This commit is contained in:
Denis Barbaron
2025-02-04 11:23:30 +01:00
committed by GitHub
parent 4727d35989
commit edb3892d65
6 changed files with 15 additions and 9 deletions

View File

@@ -1,5 +1,5 @@
/**
* Copyright © 2019-2024 contains code contributed by Orange SA, authors: Denis Barbaron - Licensed under the Apache license 2.0
* Copyright © 2019-2025 contains code contributed by Orange SA, authors: Denis Barbaron - Licensed under the Apache license 2.0
**/
var Promise = require('bluebird')
@@ -99,6 +99,7 @@ module.exports = db.ensureConnectivity(function(options) {
message.provider.channel
, message.provider.name
)
, message.statusTimeStamp
, new wire.DeviceGroupMessage(
device.group.id
, device.group.name