Closed jpmens closed 3 months ago
I think the wipe should be triggered too when
userid
changes in HTTP or MQTT mode (linked to ACL)clientId
changes in MQTT mode (queues in MQTT on both ends are linked to the clientid
)url
changes in HTTP mode (may include host, port, userid, password, ...)Included in 17.2.5
As briefly discussed internally, I suggest an enhancement which will reset our apps' configuration and internal database on change of host/port for a particular mode or on change of mode (iOS does the latter already).
The reasoning is that if I'm hosted on a particular broker but change to a different friend's broker, say, there's no reason to keep a list of locations I've received in the past, nor is there a reason to see prior friends, as they'll likely not be on the new broker / server.
In particular we should wipe:
Tracked on Android at https://github.com/owntracks/android/issues/1598