Chat list shows a room JID fragment instead of the group name #21
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Chat list shows a room JID fragment instead of the group name
Problem
When a room bookmark has an empty name, the chat list and the group header use different fallback logic.
The group header displays the actual room name, while the chat list displays the part of the room JID before @.
Preconditions
User testman421 is a member of “New 86 14102026 1”.
The room bookmark received from the server has an empty name: "name": "".
Steps to reproduce
Open the Chats tab on iPhone 13.
Find the group “New 86 14102026 1”.
Open the group and check its header.
Actual result
Chat list: qlwhfw7f7fue
Group header: New 86 1410…
Expected result
The chat list and group header should display the same group name.
Suggested direction
Use the room name as a fallback when the bookmark name is empty, rather than displaying a fragment of the room JID.
Note: The requirements specification confirms that a MUC has a name but does not explicitly define how it should be displayed. This issue is therefore a recommendation for consistent UI behavior.
Analysis (anotherim-swift, 2026-11-07)
The report was made on build 89, where the group header took the room's disco name. On current master the chat list, the header and the details page all take
namefrom libtacky'schatlistentry, so with an empty bookmark name they all show the JID's local part.chatlist.tclMakeEntry(:71, :654) names a room only by its bookmark.MucRoomInfo.name) is kept only in memory,Rooms($roomJid) info(muc.tcl:487), and never reaches a row.muc accept_invite(muc.tcl:1712) and by hosts that join withbookmarks join, which is the likely source of the empty name.Proposed fix in libtacky: when a room's bookmark name is empty,
MakeEntryfalls back to the room's disco name (kept with the room asKindOfis), and the entry is emitted again onmuc <RoomInfo>, as it is onmuc <Kind>(chatlist.tcl:174). Possibly also:accept_invite/bookmarks joinfill the bookmark's name from disco#info when they have it.Fixed in libtacky v1.2.1 (https://dev.another.im/another-im/libtacky/releases/tag/v1.2.1): a room whose bookmark has no name is now named from its disco#info name instead. That name is kept across restarts (stored as
muc_name) and used both for the chat list entry and for the room's name in a PM from one of its occupants. It is re-emitted whenever it changes (chat list row updated asmuc:<Name>).Please check with v1.2.1 or newer.