This commit is contained in:
KoalaSat 2023-01-28 23:13:07 +01:00
parent 2542a617c2
commit 1379cd0a40
No known key found for this signature in database
GPG Key ID: 2F7F61C6146AB157
2 changed files with 4 additions and 3 deletions

View File

@ -94,7 +94,7 @@
"warningAction": "Copier la clé privée",
"accessButton": "Accés",
"label": "Clé privée",
"copied": "Clé copiée",
"copied": "Clé copiée",
"description": "Conservez la clé dans un endroit sûr."
},
"loggerPage": {
@ -121,7 +121,7 @@
"cancel": "Annuler",
"addContact": "Ajouter un contact",
"addContactDescription": "Collez la clé publique de la personne que vous voulez ajouter.",
"addContactTitle": "Ajouter un contact",
"addContactTitle": "Ajouter un contact",
"followers": "Followers ({{count}})",
"following": "Abonnés ({{count}})",
"stopFollowing": "Cessez de suivre",

View File

@ -149,7 +149,8 @@ export const ConversationPage: React.FC<ConversationPageProps> = ({ route }) =>
) => JSX.Element = (index, item, pending) => {
if (!publicKey || !privateKey || !otherUser) return <></>
const displayName = item.pubkey === publicKey ? usernamePubKey(name, publicKey) : username(otherUser)
const displayName =
item.pubkey === publicKey ? usernamePubKey(name, publicKey) : username(otherUser)
const lastIndex = directMessages.length - 1 === index
const nextItemHasdifferentPubKey =
!lastIndex && directMessages[index + 1]?.pubkey !== item.pubkey