aboutsummaryrefslogtreecommitdiff
path: root/main/src/ui/occupant_menu
diff options
context:
space:
mode:
authorKirill A. Korinsky <kirill@korins.ky>2026-06-07 23:23:43 +0200
committerGitHub <noreply@github.com>2026-06-07 23:23:43 +0200
commit45723ac201c1905571f9f78c8c970828db97139a (patch)
treea416f97376b686c5d0442b1bcf239c46d521398b /main/src/ui/occupant_menu
parentc030843fb6139db382ebc9f1c1ecf48408c880ce (diff)
Fix chat correction content item lookup (#1873)
Direct chat corrections are accepted by bare JID, but the latest correction lookup still constrained the query by the original full resource; a correction sent from another resource therefore produced no matching correction row, returned -1, and wrote that sentinel into the message content item's foreign id. Align the lookup with the acceptance rule: retain occupant id matching for MUC corrections, retain resource matching for non chat cases where it is still meaningful, and avoid resource filtering for direct chat corrections.
Diffstat (limited to 'main/src/ui/occupant_menu')
0 files changed, 0 insertions, 0 deletions