bug fixes and other minor improvments
This commit is contained in:
parent
bd9d3aa612
commit
dac7edef21
10 changed files with 36 additions and 26 deletions
|
|
@ -26,8 +26,6 @@ function handleMessageQueue()
|
|||
{
|
||||
const update = messageQueue.shift();
|
||||
|
||||
console.log(update);
|
||||
|
||||
if (update)
|
||||
{
|
||||
if (update.person)
|
||||
|
|
@ -38,14 +36,10 @@ function handleMessageQueue()
|
|||
{
|
||||
ui.person = update;
|
||||
}
|
||||
else if (update.content)
|
||||
else if (update.modifier)
|
||||
{
|
||||
ui.messages.push(update);
|
||||
}
|
||||
else if (typeof update == Array)
|
||||
{
|
||||
ui.messages.push(...update);
|
||||
}
|
||||
else if (update.category)
|
||||
{
|
||||
search(update.message).content.push(update);
|
||||
|
|
|
|||
Loading…
Reference in a new issue