Bug 491359 - Joining rooms needs an indicator
Summary: Joining rooms needs an indicator
Status: CONFIRMED
Alias: None
Product: NeoChat
Classification: Applications
Component: General (other bugs)
Version First Reported In: 24.05.2
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Tobias Fella
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-08-06 17:42 UTC by Alex Lowe
Modified: 2025-06-01 06:17 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Lowe 2024-08-06 17:42:34 UTC
***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***

SUMMARY
Element users send matrix.to links, but Neochat isn't opening those rooms.

STEPS TO REPRODUCE
1. Receive a message with this link on an account that federates with ubuntu.com: https://matrix.to/#/#rockcraft:ubuntu.com
2. Click the link

Expected:
Neochat joins the room and switches to it, previews the room, or otherwise provides some user response

Actual:
Neochat seems to do nothing.

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: 
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Tobias Fella 2024-09-19 17:40:51 UTC
for me, this does actually work - though the ux is a bit terrible: there's a warning message that the room isn't found and then after a while, the room is joined and opened. Leaving this open as a reminder to improve the UX here...
Comment 2 Joshua Goins 2025-03-06 15:54:15 UTC
Git commit f1253e4ede7ba6455273556a14993f49835bd86e by Joshua Goins.
Committed on 06/03/2025 at 15:39.
Pushed by redstrate into branch 'master'.

Make joining remote rooms more reliable

When joining remote rooms we have to specify another homeserver (that is in the
room) to help us join. The matrix documentation is a little unclear what to do
in this scenario, so instead of giving up let's at least brute force it with the
server in the alias or room id.

This *does* work and allows my server to join rooms in NeoChat I otherwise
couldn't.
Related: bug 487253
FIXED-IN: 24.12.3

M  +9    -1    src/roommanager.cpp

https://invent.kde.org/network/neochat/-/commit/f1253e4ede7ba6455273556a14993f49835bd86e
Comment 3 Bug Janitor Service 2025-03-06 15:54:48 UTC
A possibly relevant merge request was started @ https://invent.kde.org/network/neochat/-/merge_requests/2176
Comment 4 Joshua Goins 2025-03-06 16:08:37 UTC
Git commit 2f6d7308c569b29822540bca143236ded2526c2d by Joshua Goins.
Committed on 06/03/2025 at 15:54.
Pushed by redstrate into branch 'release/24.12'.

Make joining remote rooms more reliable

When joining remote rooms we have to specify another homeserver (that is in the
room) to help us join. The matrix documentation is a little unclear what to do
in this scenario, so instead of giving up let's at least brute force it with the
server in the alias or room id.

This *does* work and allows my server to join rooms in NeoChat I otherwise
couldn't.
Related: bug 487253
FIXED-IN: 24.12.3


(cherry picked from commit f1253e4ede7ba6455273556a14993f49835bd86e)

Co-authored-by: Joshua Goins <josh@redstrate.com>

M  +9    -1    src/roommanager.cpp

https://invent.kde.org/network/neochat/-/commit/2f6d7308c569b29822540bca143236ded2526c2d