Discord: somebody can be added to a group DM and never removed #198

Closed
opened 2026-09-11 22:34:33 -04:00 by Salastil · 0 comments
Owner

addToDiscordGroupDm and removeFromDiscordGroupDm are the same handler in the daemon
(nobilis/src/rpc/methods.rs:944). Only the first is reachable:
src/renderer/src/components/AddToConversation.tsx:88 calls it, and nothing anywhere
calls the second.

So moho will put somebody into a group DM and then offers no way to take them out again

  • not from the member list, not from the conversation menu. The only recourse is another
    client.

Filed as a bug rather than a missing feature because the daemon side is done, the other
arm of the same call is wired, and the asymmetry is the defect.

Found by a September 2026 sweep of all 182 daemon RPC methods against every string
literal in src/. setKickChatMode was excluded on purpose: it is unreachable too, and
says so in its own comment (#167). The methods listed as superseded by that sweep -
uploadFile, listDiscordCommands, setMatrixIgnored, openIrcQuery,
setMatrixRoomState, unsubscribe - are fine and want nothing.

`addToDiscordGroupDm` and `removeFromDiscordGroupDm` are the same handler in the daemon (`nobilis/src/rpc/methods.rs:944`). Only the first is reachable: `src/renderer/src/components/AddToConversation.tsx:88` calls it, and nothing anywhere calls the second. So moho will put somebody into a group DM and then offers no way to take them out again - not from the member list, not from the conversation menu. The only recourse is another client. Filed as a bug rather than a missing feature because the daemon side is done, the other arm of the same call is wired, and the asymmetry is the defect. --- Found by a September 2026 sweep of all 182 daemon RPC methods against every string literal in `src/`. `setKickChatMode` was excluded on purpose: it is unreachable too, and says so in its own comment (#167). The methods listed as superseded by that sweep - `uploadFile`, `listDiscordCommands`, `setMatrixIgnored`, `openIrcQuery`, `setMatrixRoomState`, `unsubscribe` - are fine and want nothing.
Salastil added the bug label 2026-09-11 22:34:33 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Salastil/moho#198