Skip to content

Commit

Permalink
fix: unclickable reactions dialog item sometimes
Browse files Browse the repository at this point in the history
When the current account is not the first account.
  • Loading branch information
WofWca committed Oct 19, 2024
1 parent 4e19148 commit 2bb842d
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 @@ -53,6 +53,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

<a id="1_46_8"></a>

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 2bb842d

Please sign in to comment.