feat: mentions #56

Merged
verbiricha merged 8 commits from mentions into main 2023-01-15 09:59:08 +00:00
Showing only changes of commit 666ab8ebdb - Show all commits

View File

@ -24,12 +24,12 @@ export function NoteCreator(props) {
async function sendNote() {
let ev = replyTo ? await publisher.reply(replyTo, note) : await publisher.note(note);
console.debug("Sending note: ", ev);
publisher.broadcast(ev)
publisher.broadcast(ev);
setNote("");
setActive(false);
if (typeof onSend === "function") {
onSend();
}
setActive(false)
}
async function attachFile() {