Commit Graph

14 Commits (99b139f5c46169315b0397bc7598cf443d31ac1f)

Author SHA1 Message Date
Audric Ackermann c92baad736
Fix path building (#1903)
* Keep line breaks when message has some new lines

Relates #1758 and #1898 and #1901

* fix link preview cropped when received

* make sure we fetch from seed if we end up with not enough snodes

* try to download recent previews if we just trusted a user

* throw if we need to rebuild path while fetching snode list from snode

* fixup no refecthing of snode list while we are fetching them already

* added test for fetch from db or seed

* fetch snode list from snode every hour

also make sure the path building does not try to get more snodes. It
just throws

* do not drop a path if an opengroup room is down and we get errors  back

* do not throw an error if the snode in error in not in any path

* fix tests

* bump to v1.7.11
4 years ago
Audric Ackermann 0a208c0d15
store snodes list on db, use them if possible on app start
if not enough snodes or no snodes at all, a request to the seed node is
made instead
4 years ago
Audric Ackermann 5cab7908b4
add some test for partial path rebuilding 4 years ago
Audric Ackermann 8cb50ebc91
move onionPath building to outside of index.ts 4 years ago
Audric Ackermann 0c0da48150
remove pow 4 years ago
Audric Ackermann 35d66d8865
fix bug fetching new token every request 4 years ago
Audric Ackermann f7581cf4eb
increase prettier maxWidth to 100 4 years ago
Audric Ackermann b68338e26c
working get and post request with opengroup api v2 4 years ago
Audric Ackermann 6fbe060973
move deleteAccount() to AccountManager 4 years ago
Audric Ackermann 5a7c8ffa35
fix previews sent on next message if they are resolved too late 4 years ago
Audric Ackermann cf3352d0af
add a timeout function to promiseUtils for attemptConnection 5 years ago
Audric Ackermann 8105f0647a
make a few unit tests quicker by polling more aggressively on results 5 years ago
Vincent a6433fe5dd merge 5 years ago
Mikunj 3bf5796cd5 Modify periodic check implementation 5 years ago