Refactor path handling in ChannelMessagePathScreen to improve logic for outgoing messages and channel messages

This commit is contained in:
Winston Lowe
2026-02-18 10:25:06 -08:00
parent 17a9db0f0e
commit b8acedd03e
2 changed files with 23 additions and 5 deletions
+1 -1
View File
@@ -64,7 +64,7 @@ class DirectRepeater {
lastUpdated.millisecondsSinceEpoch;
final maxAgeMs = maxAgeMinutes * 60 * 1000;
final recencyScore = (maxAgeMs - ageMs).clamp(0, maxAgeMs);
return (snr * snr).round() + recencyScore;
return ((snr - 31.75) * 1000).round() + recencyScore;
}
bool isStale() {