mirror of
https://github.com/coracle-social/coracle.git
synced 2024-09-30 00:41:12 +00:00
Fix chat sending
This commit is contained in:
parent
2d92c13613
commit
c5ce8cf0d5
@ -45,6 +45,7 @@ If you like Coracle and want to support its development, you can donate sats via
|
||||
|
||||
# Bugs
|
||||
|
||||
- [ ] Everything waits for even the slowest relay to connect before returning events
|
||||
- [ ] Alerts are not showing likes, just generally screwy. Maybe because I threadify before adding to the db?
|
||||
- [ ] Sync mentions box and in-reply mentions
|
||||
- [ ] Add petnames for channels
|
||||
|
@ -169,7 +169,6 @@ const subscribe = async (relays, filters) => {
|
||||
})
|
||||
))
|
||||
|
||||
|
||||
return {
|
||||
subs,
|
||||
unsub: () => {
|
||||
|
@ -71,6 +71,8 @@ setTimeout(() => {
|
||||
return false
|
||||
}
|
||||
|
||||
event.setUser(session)
|
||||
|
||||
return true
|
||||
})
|
||||
})
|
||||
|
@ -2,7 +2,10 @@ import 'src/app.css'
|
||||
|
||||
import Bugsnag from "@bugsnag/js"
|
||||
|
||||
Bugsnag.start({apiKey: "2ea412feabfe14dc9849c6f0b4fa7003"})
|
||||
Bugsnag.start({
|
||||
apiKey: "2ea412feabfe14dc9849c6f0b4fa7003",
|
||||
collectUserIp: false,
|
||||
})
|
||||
|
||||
import App from 'src/App.svelte'
|
||||
|
||||
|
@ -17,7 +17,7 @@
|
||||
{/if}
|
||||
|
||||
{#if size === '2xl'}
|
||||
<div {...$$props} class={cx($$props.class, className, "py-8 p-4 max-w-2xl")}>
|
||||
<div {...$$props} class={cx($$props.class, className, "p-4 lg:py-8 max-w-2xl")}>
|
||||
<slot />
|
||||
</div>
|
||||
{/if}
|
||||
|
@ -46,7 +46,6 @@
|
||||
})
|
||||
</script>
|
||||
|
||||
<Content>
|
||||
{#if newNotes.length > 0}
|
||||
<div
|
||||
in:slide
|
||||
@ -63,4 +62,3 @@
|
||||
</div>
|
||||
|
||||
<Spinner />
|
||||
</Content>
|
||||
|
@ -60,7 +60,7 @@
|
||||
}
|
||||
|
||||
const sendMessage = content =>
|
||||
cmd.createChannelMessage(getRelays(), roomId, content)
|
||||
cmd.createChatMessage(getRelays(), roomId, content)
|
||||
</script>
|
||||
|
||||
<Channel
|
||||
|
Loading…
Reference in New Issue
Block a user