Fix dm interop
This commit is contained in:
parent
fa7852113b
commit
064c69eed0
2 changed files with 3 additions and 3 deletions
|
|
@ -56,7 +56,7 @@
|
||||||
.hover\:bg-alt:hover,
|
.hover\:bg-alt:hover,
|
||||||
.bg-alt .bg-alt .hover\:bg-alt:hover,
|
.bg-alt .bg-alt .hover\:bg-alt:hover,
|
||||||
.bg-alt .bg-alt.hover\:bg-alt:hover {
|
.bg-alt .bg-alt.hover\:bg-alt:hover {
|
||||||
@apply bg-base-100 transition-colors;
|
@apply bg-base-100 transition-colors text-base-content;
|
||||||
}
|
}
|
||||||
|
|
||||||
.bg-alt .bg-alt,
|
.bg-alt .bg-alt,
|
||||||
|
|
@ -65,7 +65,7 @@
|
||||||
.bg-alt .bg-alt .bg-alt .hover\:bg-alt:hover,
|
.bg-alt .bg-alt .bg-alt .hover\:bg-alt:hover,
|
||||||
.bg-alt.hover\:bg-alt:hover,
|
.bg-alt.hover\:bg-alt:hover,
|
||||||
.bg-alt .bg-alt .bg-alt.hover\:bg-alt:hover {
|
.bg-alt .bg-alt .bg-alt.hover\:bg-alt:hover {
|
||||||
@apply bg-base-300 transition-colors;
|
@apply bg-base-300 transition-colors text-base-content;
|
||||||
}
|
}
|
||||||
|
|
||||||
.card2 {
|
.card2 {
|
||||||
|
|
|
||||||
|
|
@ -32,7 +32,7 @@
|
||||||
const assertEvent = (e: any) => e as TrustedEvent
|
const assertEvent = (e: any) => e as TrustedEvent
|
||||||
|
|
||||||
const onSubmit = async ({content, ...params}: EventContent) => {
|
const onSubmit = async ({content, ...params}: EventContent) => {
|
||||||
const tags = [...params.tags, ...pubkeys.map(pubkey => tagPubkey(pubkey))]
|
const tags = [...params.tags, ...remove($pubkey!, pubkeys).map(tagPubkey)]
|
||||||
const template = createEvent(DIRECT_MESSAGE, {content, tags})
|
const template = createEvent(DIRECT_MESSAGE, {content, tags})
|
||||||
|
|
||||||
await sendWrapped({template, pubkeys})
|
await sendWrapped({template, pubkeys})
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue