rename createEvent to makeEvent

This commit is contained in:
Jon Staab
2025-06-10 13:35:57 -07:00
parent 5718510779
commit a22db78967
12 changed files with 75 additions and 594 deletions
+2 -2
View File
@@ -16,7 +16,7 @@
import type {TrustedEvent, EventTemplate, EventContent} from "@welshman/util"
import {parse, isLink} from "@welshman/content"
import {
createEvent,
makeEvent,
tagsFromIMeta,
getTags,
DIRECT_MESSAGE,
@@ -97,7 +97,7 @@
content = content.trim()
if (content) {
templates.push(createEvent(kind, {content, tags: [...tags, ...ptags]}))
templates.push(makeEvent(kind, {content, tags: [...tags, ...ptags]}))
}
}