mirror of
https://github.com/markqvist/NomadNet.git
synced 2025-12-17 14:54:26 +01:00
Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
289136a632 | ||
|
|
0e79c3299c | ||
|
|
c61da069f2 |
@@ -216,6 +216,10 @@ class Conversation:
|
|||||||
if self.app.directory.preferred_delivery(dest.hash) == DirectoryEntry.PROPAGATED:
|
if self.app.directory.preferred_delivery(dest.hash) == DirectoryEntry.PROPAGATED:
|
||||||
if self.app.message_router.get_outbound_propagation_node() != None:
|
if self.app.message_router.get_outbound_propagation_node() != None:
|
||||||
desired_method = LXMF.LXMessage.PROPAGATED
|
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
|
dest_is_trusted = False
|
||||||
if self.app.directory.trust_level(dest.hash) == DirectoryEntry.TRUSTED:
|
if self.app.directory.trust_level(dest.hash) == DirectoryEntry.TRUSTED:
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
__version__ = "0.5.3"
|
__version__ = "0.5.4"
|
||||||
|
|||||||
2
setup.py
2
setup.py
@@ -30,6 +30,6 @@ setuptools.setup(
|
|||||||
entry_points= {
|
entry_points= {
|
||||||
'console_scripts': ['nomadnet=nomadnet.nomadnet:main']
|
'console_scripts': ['nomadnet=nomadnet.nomadnet:main']
|
||||||
},
|
},
|
||||||
install_requires=["rns>=0.7.8", "lxmf>=0.5.2", "urwid>=2.4.4", "qrcode"],
|
install_requires=["rns>=0.8.2", "lxmf>=0.5.5", "urwid>=2.4.4", "qrcode"],
|
||||||
python_requires=">=3.6",
|
python_requires=">=3.6",
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user