mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
fix comment.author.address does not match signer
This commit is contained in:
@@ -178,7 +178,7 @@ const ReplyModal = ({ isOpen, closeModal }) => {
|
|||||||
...prevPublishCommentOptions,
|
...prevPublishCommentOptions,
|
||||||
author: {
|
author: {
|
||||||
displayName: nameRef.current.value || undefined,
|
displayName: nameRef.current.value || undefined,
|
||||||
address: account?.author.address,
|
...(anonymousMode ? {} : {address: account?.author.address}),
|
||||||
},
|
},
|
||||||
content: commentRef.current.value || undefined,
|
content: commentRef.current.value || undefined,
|
||||||
link: linkRef.current.value || undefined,
|
link: linkRef.current.value || undefined,
|
||||||
|
|||||||
@@ -446,7 +446,7 @@ const Board = () => {
|
|||||||
...prevPublishCommentOptions,
|
...prevPublishCommentOptions,
|
||||||
author: {
|
author: {
|
||||||
displayName: nameRef.current.value || undefined,
|
displayName: nameRef.current.value || undefined,
|
||||||
address: account?.author.address,
|
...(anonymousMode ? {} : {address: account?.author.address}),
|
||||||
},
|
},
|
||||||
title: subjectRef.current.value || undefined,
|
title: subjectRef.current.value || undefined,
|
||||||
content: commentRef.current.value || undefined,
|
content: commentRef.current.value || undefined,
|
||||||
|
|||||||
@@ -906,7 +906,7 @@ const Catalog = () => {
|
|||||||
...prevPublishCommentOptions,
|
...prevPublishCommentOptions,
|
||||||
author: {
|
author: {
|
||||||
displayName: nameRef.current.value || undefined,
|
displayName: nameRef.current.value || undefined,
|
||||||
address: account?.author.address,
|
...(anonymousMode ? {} : {address: account?.author.address}),
|
||||||
},
|
},
|
||||||
title: subjectRef.current.value || undefined,
|
title: subjectRef.current.value || undefined,
|
||||||
content: commentRef.current.value || undefined,
|
content: commentRef.current.value || undefined,
|
||||||
|
|||||||
@@ -387,7 +387,7 @@ const Thread = () => {
|
|||||||
...prevPublishCommentOptions,
|
...prevPublishCommentOptions,
|
||||||
author: {
|
author: {
|
||||||
displayName: nameRef.current.value || undefined,
|
displayName: nameRef.current.value || undefined,
|
||||||
address: account?.author.address,
|
...(anonymousMode ? {} : {address: account?.author.address}),
|
||||||
},
|
},
|
||||||
content: commentRef.current.value || undefined,
|
content: commentRef.current.value || undefined,
|
||||||
link: linkRef.current.value || undefined,
|
link: linkRef.current.value || undefined,
|
||||||
|
|||||||
Reference in New Issue
Block a user