Skip to content

[Bug]: Inconsistent display of "MQTT" cloud to indicate a message has travelled through MQTT #3434

Description

@domusonline

Contact Details

domusonline@gmail.com, domusonline

Checklist

  • I am able to reproduce the bug with the latest version.

  • I made sure that there are no existing OPEN or CLOSED issues which I could contribute my information to.

  • I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise.

  • This issue contains only one bug.

  • I have read and understood the Contribution Guidelines.

  • I agree to follow this project's Code of Conduct

Affected app version

2.7.2

Affected Android version

Android 15

Affected phone model

Samsung Galaxy A34

Affected node model

Heltec V3

Affected node firmware version

2.7.11

Steps to reproduce the bug

Hard to reproduce as it involves radios and MQTT server. But the effect can be easily checked by confronting a message display (without "mqtt cloud") whith the message details in the Debug Panel.

Actual behavior

In some cases the MQTT clound is not shown when the message has the via_mqtt flag.

Further more, I had situations where the cloud is visible at one point, but if for example we remove the matching node from the Node DB and check the message again, the cloud is not shown.
The showing or not of the cloud is a direct consequence of the message and can't be influenced by any characteristics of the node, or weather or not it's in the Node DB.

Expected behavior

If a message contains via_mqtt : true, the "mqtt cloud" must be displayed.
If the message does not contain the flag (and the flag will never exist wihth value "false" then we enter into a more complex scenario: If the node showing the message effectively got it from the MQTT server, then the flag will not be set (it's set if the node decides to broadcast it through RF).
In this more complex case if the firmware is recent and already contains the transport method in the header, that should be checked and if it's "MQTTT" then the cloud should be shown.

Not sure if whoever looks into this wants to review all the cases of if different bug reports will be needed.

Screenshots/Screen recordings

Check the message from shortname "Luis":
Image

And as can be seen here, the message has the via_mqtt flag on.
Image

Relevant log output

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions