feat: multi-account system #514

Merged
v0l merged 8 commits from multi-account-2 into main 2023-04-14 17:35:23 +00:00
Showing only changes of commit 0850e0d310 - Show all commits

View File

@ -41,7 +41,7 @@ export class EventBuilder {
processContent() {
if (this.#content) {
this.#content = this.#content
.replace(/@n[pub|profile|event|ote|addr|]1[acdefghjklmnpqrstuvwxyz023456789]+/g, m => this.#replaceMention(m))
.replace(/@n(pub|profile|event|ote|addr|)1[acdefghjklmnpqrstuvwxyz023456789]+/g, m => this.#replaceMention(m))
.replace(HashtagRegex, m => this.#replaceHashtag(m));
}
return this;