]> Repos - mime-chat/commitdiff
some polish simple_ui
authorAndrew Gundersen <gundersena@xavier.edu>
Fri, 25 Mar 2022 11:35:46 +0000 (06:35 -0500)
committerAndrew Gundersen <gundersena@xavier.edu>
Fri, 25 Mar 2022 11:35:46 +0000 (06:35 -0500)
src/session.js

index 86348123da8580c7b7f785b6ba1454eee4cde811..13932c9f31ae96f91380968566812f3173d22d3a 100644 (file)
@@ -31,11 +31,10 @@ function handleMessageQueue()
 
         if (update)
         {          
-            console.log(update);
-
             if (update.person)
             {
-                ui = update; current = update.messages.at(-1);
+                ui = update; 
+                current = update.messages.at(-1);
             }
             else if (update.name)
             {
@@ -43,7 +42,8 @@ function handleMessageQueue()
             }
             else if (update.modifier)
             {
-                ui.messages.push(update); current = update;
+                ui.messages.push(update); 
+                current = update;
             }
             else if (update.category)
             {