Collect channel_id

This commit is contained in:
Anton Roslund 2025-08-13 21:50:50 +02:00
parent 2fd0e9c016
commit 0be80d4177
3 changed files with 7 additions and 1 deletions

View file

@ -948,6 +948,7 @@ client.on("message", async (topic, message) => {
is_unmessagable: user.isUnmessagable,
ok_to_mqtt: isOkToMqtt,
max_hops: envelope.packet.hopStart,
channel_id: envelope.channelId,
firmware_version: '<2.5.0',
...(user.publicKey != '' && {
@ -967,7 +968,8 @@ client.on("message", async (topic, message) => {
is_unmessagable: user.isUnmessagable,
ok_to_mqtt: isOkToMqtt,
max_hops: envelope.packet.hopStart,
channel_id: envelope.channelId,
firmware_version: '<2.5.0',
...(user.publicKey != '' && {
firmware_version: '>2.5.0',