diff --git a/src/app/components/Chat.svelte b/src/app/components/Chat.svelte index dc530074..4578b3a3 100644 --- a/src/app/components/Chat.svelte +++ b/src/app/components/Chat.svelte @@ -26,6 +26,7 @@ import Icon from "@lib/components/Icon.svelte" import Spinner from "@lib/components/Spinner.svelte" import PageBar from "@lib/components/PageBar.svelte" + import PageContent from "@lib/components/PageContent.svelte" import Divider from "@lib/components/Divider.svelte" import Button from "@lib/components/Button.svelte" import ProfileName from "@app/components/ProfileName.svelte" @@ -263,67 +264,69 @@ -
- {#if missingRelayLists.length > 0} -
-
-

- - Direct messages are not enabled -

-

- Ask - {#each missingRelayLists as pubkey (pubkey)} - - {/each} - to enable direct messaging by opening this conversation in their $app. -

+
+ + {#if missingRelayLists.length > 0} +
+
+

+ + Direct messages are not enabled +

+

+ Ask + {#each missingRelayLists as pubkey (pubkey)} + + {/each} + to enable direct messaging by opening this conversation in their $app. +

+
-
- {/if} - {#each elements as { type, id, value, showPubkey } (id)} - {#if type === "date"} - {value} - {:else} - {/if} - {/each} -

- - {#if loading} - Looking for messages... + {#each elements as { type, id, value, showPubkey } (id)} + {#if type === "date"} + {value} {:else} - End of message history + {/if} - - {@render info?.()} -

-
-
+ {/each} +

+ + {#if loading} + Looking for messages... + {:else} + End of message history + {/if} + + {@render info?.()} +

+ -
-
- {#if parent} - - {/if} - {#if eventToEdit} - - {/if} +
+
+ {#if parent} + + {/if} + {#if eventToEdit} + + {/if} +
+ {#key eventToEdit} + + {/key}
- {#key eventToEdit} - - {/key}