From 8d73265cf4ac191ec3e525ea54a0ae81055cedbd Mon Sep 17 00:00:00 2001 From: Mark Qvist Date: Sun, 3 May 2026 19:22:19 +0200 Subject: [PATCH] Yeah, that'll probably work better --- RNS/Utilities/rngit/pages.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/RNS/Utilities/rngit/pages.py b/RNS/Utilities/rngit/pages.py index 3ca48869..5314f3a4 100644 --- a/RNS/Utilities/rngit/pages.py +++ b/RNS/Utilities/rngit/pages.py @@ -1581,8 +1581,9 @@ class NomadNetworkNode(): def repository_thanks(self, repo_path, add=False, link_id=None): if add: - if link_id in self.thanks_deque: add = False - else: self.thanks_deque.append(link_id) + thanks_hash = RNS.Identity.full_hash(link_id+repo_path.encode("utf-8")) + if thanks_hash in self.thanks_deque: add = False + else: self.thanks_deque.append(thanks_hash) try: thanks_path = f"{repo_path}.thanks"