bug fixes and other minor improvments

This commit is contained in:
Andrew Gundersen 2022-01-27 16:45:35 -06:00
commit dac7edef21
10 changed files with 36 additions and 26 deletions

View file

@ -33,14 +33,10 @@ const Messenger = {
{
person.value = update;
}
else if (update.content)
else if (update.modifier)
{
messages.value.push(update);
}
else if (typeof update == Array)
{
messages.value.push(...update);
}
else if (update.category)
{
search(update.message).content.push(update);