mirror of
https://github.com/markqvist/NomadNet.git
synced 2025-12-17 06:44:21 +01:00
Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
289136a632 | ||
|
|
0e79c3299c | ||
|
|
c61da069f2 | ||
|
|
0df8b56d58 | ||
|
|
112a45f270 | ||
|
|
03a02a9ebc |
@@ -102,7 +102,7 @@ class Conversation:
|
||||
unread = True
|
||||
|
||||
if display_name == None and app_data:
|
||||
display_name = app_data.decode("utf-8")
|
||||
display_name = LXMF.display_name_from_app_data(app_data)
|
||||
|
||||
if display_name == None:
|
||||
sort_name = ""
|
||||
@@ -216,6 +216,10 @@ class Conversation:
|
||||
if self.app.directory.preferred_delivery(dest.hash) == DirectoryEntry.PROPAGATED:
|
||||
if self.app.message_router.get_outbound_propagation_node() != None:
|
||||
desired_method = LXMF.LXMessage.PROPAGATED
|
||||
else:
|
||||
if not self.app.message_router.delivery_link_available(dest.hash) and RNS.Identity.current_ratchet_id(dest.hash) != None:
|
||||
RNS.log(f"Have ratchet for {RNS.prettyhexrep(dest.hash)}, requesting opportunistic delivery of message", RNS.LOG_DEBUG)
|
||||
desired_method = LXMF.LXMessage.OPPORTUNISTIC
|
||||
|
||||
dest_is_trusted = False
|
||||
if self.app.directory.trust_level(dest.hash) == DirectoryEntry.TRUSTED:
|
||||
|
||||
@@ -746,7 +746,7 @@ class NomadNetworkApp:
|
||||
self.lxmf_sync_limit = None
|
||||
|
||||
if option == "required_stamp_cost":
|
||||
value = self.config["node"]["node_name"]
|
||||
value = self.config["client"][option]
|
||||
if value.lower() == "none":
|
||||
self.required_stamp_cost = None
|
||||
else:
|
||||
|
||||
@@ -1 +1 @@
|
||||
__version__ = "0.5.2"
|
||||
__version__ = "0.5.4"
|
||||
|
||||
2
setup.py
2
setup.py
@@ -30,6 +30,6 @@ setuptools.setup(
|
||||
entry_points= {
|
||||
'console_scripts': ['nomadnet=nomadnet.nomadnet:main']
|
||||
},
|
||||
install_requires=["rns>=0.7.7", "lxmf>=0.5.1", "urwid>=2.4.4", "qrcode"],
|
||||
install_requires=["rns>=0.8.2", "lxmf>=0.5.5", "urwid>=2.4.4", "qrcode"],
|
||||
python_requires=">=3.6",
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user