Skip to content

Commit

Permalink
fix: unclickable reactions dialog item sometimes (#4228)
Browse files Browse the repository at this point in the history
When the current account is not the first account.

Co-authored-by: Simon Laux <Simon-Laux@users.noreply.github.com>
  • Loading branch information
WofWca and Simon-Laux authored Oct 21, 2024
1 parent 65bd380 commit 5e56ff3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
- cancel old message highlight animations when a new message is highlighted #4203
- fix: packaging: include architecture in filename for all appimages #4202
- fix: make open external link scheme case insensive #4201
- some reactions dialog items not being clickable on secondary accounts (profiles) #4228
- target-electron: make sure log of stdio server is also logged to file
- improve accessibility a little #4133

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import ContactName from '../../ContactName'
import styles from './styles.module.scss'

import type { DialogProps } from '../../../contexts/DialogContext'
import type { T } from '@deltachat/jsonrpc-client'
import { type T, C } from '@deltachat/jsonrpc-client'

import useOpenViewProfileDialog from '../../../hooks/dialog/useOpenViewProfileDialog'

Expand Down Expand Up @@ -92,7 +92,7 @@ function ReactionsDialogList({ reactionsByContact, onClose }: Props) {
return (
<ul className={styles.reactionsDialogList}>
{contacts.map(contact => {
const notFromSelf = accountId !== contact.id
const notFromSelf = C.DC_CONTACT_ID_SELF !== contact.id
return (
<li
key={contact.id}
Expand Down

0 comments on commit 5e56ff3

Please sign in to comment.