Chats: bridged rooms wear their network's badge #104
Closed
tlasol
wants to merge 0 commits from
tlasol/fix/room-network-badge into develop
AGit
pull from: tlasol/fix/room-network-badge
merge into: another-im:develop
another-im:develop
another-im:feat/whiteboard
another-im:feat/guest-links-web
another-im:feat/guest-links-2
another-im:feat/guest-links
another-im:fix/xmpp-only-invites
another-im:fix/autostart-159
another-im:fix/latest-button-157
another-im:feat/mls-channels
another-im:fix/menu-focus-ring
another-im:fix/calls-153-156
another-im:feat/unified-join
another-im:fix/read-by-row-2
another-im:feat/workspaces-2
another-im:fix/read-by-row
another-im:fix/member-count-header
another-im:feat/upgrade-screen
another-im:fix/quote-highlight-152
another-im:feat/flatpak-repo
another-im:port/p2
another-im:feat/nix-flake-merge
another-im:fix/followups
another-im:port/p4
another-im:feat/guest-join
another-im:port/p3
another-im:port/p1
another-im:feat/workspaces
another-im:feat/web-screen-share
another-im:feat/select-files
another-im:feat/muc2-voice-watch
another-im:feat/muc2-voice
another-im:feat/muc2
another-im:fix/contacts-account-switch
another-im:rel/0.9
another-im:ui/room-glyph-lead
another-im:ui/round-avatars
another-im:feat/deltachat
another-im:fix/touchscreen-pinch-zoom
another-im:fix/call-window-touch
another-im:fix/idle-cpu
another-im:fix/issue-69-changed-key
another-im:fix/relock-dismiss
another-im:fix/settings-accounts
another-im:feat/unified-dialogs-1
another-im:feat/unified-dialogs-2
another-im:feat/unified-dialogs-3
another-im:feat/one-status
another-im:macos-0.6.1
another-im:fix/console-tab-out
another-im:fix/desktop-drop
another-im:fix/xml-console-menu
another-im:feat/telegram-connect
another-im:feat/chat-tags
another-im:feat/muc-omemo
another-im:integrate/origin-develop-2026-10-02
another-im:fix/media-bubble-size
another-im:fix/empty-click-focus
another-im:feat/system-font-default
another-im:integrate/develop-2026-10-02
another-im:fix/attachment-decrypt
another-im:feat/system-font
another-im:fix/chat-links
another-im:fix/android-background-network
another-im:feat/tray
another-im:feat/thumb-cache
another-im:fix/android-csi-native
another-im:feat/opfs-store
another-im:fix/alttab-focus
another-im:try/groupcalls
another-im:feat/pwa-install
another-im:integrate/0.3.0
another-im:fix/upload-bubble-030
another-im:feat/drag-select
another-im:fix/upload-bubble
another-im:feat/encryption-info
another-im:chore/libtacky-path
another-im:feat/chat-header-menus
another-im:integrate/develop
another-im:fix/saved-top-linux-voice
another-im:fix/dialog-close-icons
another-im:feat/window-title-unread
another-im:feat/groupcalls
another-im:fix/open-picture-one-tap
another-im:feat/server-info-console
another-im:fix/chat-open-scroll-end
another-im:fix/desktop-push-mutes
another-im:fix/android-mute-push-selection
another-im:feat/otr-lock-colours
another-im:otr-v3-secret-chats
another-im:chore/remove-otr
another-im:feat/room-invites
another-im:feat/voice-video-messages
another-im:docs/readme
another-im:fix/android-empty-files
another-im:api-freeze
another-im:feat/push-counts
another-im:feat/h264-android-save
another-im:feat/keep-attachments-decrypted
another-im:feat/media-player
another-im:feat/fix-subdomain-attachments
another-im:feat/fonts-pt-sans
another-im:feat/always-decrypt-on-the-fly
another-im:feat/default-scale-125
another-im:fix/composer-focus-after-send
another-im:feat/android-native-calls
another-im:feat/media-stream-decrypt
another-im:feat/download-failure
another-im:feat/outbox-cap
another-im:feat/web-call-sheet
another-im:feat/first-run-push-check
another-im:feat/font-size-110
another-im:feat/log-view
another-im:fix/failed-transfer-history
another-im:feat/secure-unlock
another-im:feat/tpm-desktop
another-im:feat/tpm-android
another-im:feat/api-freeze-client
No reviewers
Labels
Clear labels
android
bug
Something is not working
duplicate
This issue or pull request already exists
feature request
New feature
linux
linux exclusive
macos
macos exclusive
needsinfo
Needs more information
severity: high
Major issue, significantly impacts usability or blocks core functionality
severity: low
Minor issue, cosmetic or rarely affects usage
severity: medium
Noticeable issue, but there is a workaround or limited impact
telegram_gw
issues related to the telegram gw
ui/ux
issues related to the interface and user experience (visual glitches, layout, interactions, usability problems)
windows
windows exclusive
wontfix
This won't be fixed
No labels
android
bug
duplicate
feature request
linux
macos
needsinfo
severity: high
severity: low
severity: medium
telegram_gw
ui/ux
windows
wontfix
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".
No due date set.
Dependencies
No dependencies set
Reference
another-im/anotherim-js!104
Loading…
Reference in a new issue
No description provided.
Delete branch "tlasol/fix/room-network-badge"
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?
What and why
Telegram groups and channels had no Telegram badge on their picture, while the chats with their people had one. Matrix rooms had none either.
libtacky lists a room in the chat list as
room@service?join, and the gateway lookup behind the badge takes a JID with?for no person's address, so no room in a real chat list ever reached the gateway's domain. The mock and the tests named rooms by their bare JID, which is why nothing caught it.networkBadgesnow looks a room up byroomOf(jid). Nothing else of the gateway lookup changes (encryption and the other uses of it stay as they are).Tests
ui/test/network-badge.test.ts: a Telegram group and a Matrix room by their?joinJIDs wear "Telegram room" and "Matrix room", a room of our own server's wears none, and the Telegram group's row in the chat list is badged. It fails without this change.make check STRICT=1clean.make test-ui: 463 files, 5,471 passed, 8 skipped (macOS, Node 26,NODE_OPTIONS=--no-experimental-webstorage).Assisted-by: Claude:opus-5-5
Thanks, this is right: the chat list's
?joinmark was what kept rooms out of the gateway lookup, and the new testcatches it. Taking it for 0.8.6; the only change on our side was the CHANGELOG line, which had to move
above 0.8.5 (that was the conflict).
Merged by hand into develop and released in 0.8.6; closing.
Pull request closed