mirror of
https://github.com/markqvist/Reticulum.git
synced 2026-06-08 14:11:53 -07:00
Yeah, that'll probably work better
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user