fix(neighborinfo): disable neighbor info dialog temporarily (#4345)

Signed-off-by: James Rich <2199651+jamesarich@users.noreply.github.com>
This commit is contained in:
James Rich 2026-01-27 21:21:04 -06:00 committed by GitHub
parent 12f7fe30b9
commit 091ca9b400
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 101 additions and 101 deletions

View file

@ -36,9 +36,9 @@ data class Capabilities(val firmwareVersion: String?, internal val forceEnableAl
val canMuteNode: Boolean
get() = isSupported("2.7.18")
/** Ability to request neighbor information from other nodes. Supported since firmware v2.7.15. */
/** FIXME: Ability to request neighbor information from other nodes. Disabled until working better. */
val canRequestNeighborInfo: Boolean
get() = isSupported("2.7.15")
get() = isSupported("9.9.9")
/** Ability to send verified shared contacts. Supported since firmware v2.7.12. */
val canSendVerifiedContacts: Boolean

View file

@ -32,11 +32,12 @@ class CapabilitiesTest {
assertTrue(caps("2.8.1").canMuteNode)
}
// FIXME: needs updating when NeighborInfo is working properly
@Test
fun `canRequestNeighborInfo requires v2 7 15`() {
fun `canRequestNeighborInfo disabled`() {
assertFalse(caps("2.7.14").canRequestNeighborInfo)
assertTrue(caps("2.7.15").canRequestNeighborInfo)
assertTrue(caps("2.8.0").canRequestNeighborInfo)
assertFalse(caps("2.7.15").canRequestNeighborInfo)
assertFalse(caps("2.8.0").canRequestNeighborInfo)
}
@Test