RSNewWebUI/webui-src/app
jolavillette 00459bbbcb webui v150: Leave Chat reported a closed tunnel whatever the core answered
rsJsonApiRequest hands the callback the HTTP status, not the answer, and the
button read that as "the tunnel is closed": any reply at all, including one that
says nothing was closed, ended the conversation on screen. The core does report
it, in retval, so that is what is read now, and the ended card says which of the
two happened -- closed on request, or already gone before the click.

The status poll had the same deafness and is what let it happen. Once a tunnel
is gone from the core -- died of inaction, closed by the peer --
getDistantChatStatus answers false, and the poll only ever looked at the branch
where it answers true. So the last known status stayed on screen for good: a
conversation whose tunnel had been dead for a while kept its green dot and its
"You can talk", and Leave Chat then had, quite correctly, nothing to close. Two
consecutive false answers now end the conversation, with a line saying so, which
is the state the user was in.

Needs the libretroshare side to be meaningful:
fix/distant-chat-close-keeps-contact makes closeDistantChatConnexion report
whether it closed anything, and drop the distant chat contact it used to leave
behind.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-18 09:26:52 +02:00
..
boards webui v143: the channel list never refreshed, and three different periods 2026-08-16 13:06:50 +02:00
channels webui v143: the channel list never refreshed, and three different periods 2026-08-16 13:06:50 +02:00
chat webui v146: the attach dialog must be escapable while it hashes 2026-08-16 17:44:51 +02:00
config Merge master into improvements_v2 2026-08-08 17:10:48 +02:00
files Improved the “Add new file” popup for phones. 2026-08-16 13:36:15 +02:00
forums webui v143: the channel list never refreshed, and three different periods 2026-08-16 13:06:50 +02:00
mail webui v140: adapt the inside of the pages to a phone 2026-08-15 15:44:43 +02:00
network webui v144: remembered friends must expire, and go when the friend goes 2026-08-16 13:08:25 +02:00
people webui v150: Leave Chat reported a closed tunnel whatever the core answered 2026-08-18 09:26:52 +02:00
scss Added avatars before identity nicknames in the chat-room join selection. 2026-08-16 13:50:58 +02:00
home.js webui v145: the web help dialog stays open, and the close button drifts 2026-08-16 13:09:18 +02:00
jdenticon.js build: modernize WebUI build and lint tooling 2026-08-02 20:46:00 +05:30
login.js login: honour the ?Url= parameter again 2026-08-13 13:51:46 +02:00
main.js webui v150: Leave Chat reported a closed tunnel whatever the core answered 2026-08-18 09:26:52 +02:00
mithril.js Merge master into improvements_v2 2026-08-08 17:10:48 +02:00
rswebui.js one cleanRetroshareId, in rswebui 2026-08-14 13:38:52 +02:00
statusbar.js improvements for mobile phone 2026-08-14 18:48:52 +02:00
widgets.js fixed popup window for phone 2026-08-15 16:37:58 +02:00