Do not re-use message IDs
Do not re-use message IDs

Without this, polling breaks as we look for IDs > our last. When key re-use is permitted the latest ID may well be less than the most recent one we've seen

--- a/server/LocalChat.py
+++ b/server/LocalChat.py
@@ -71,7 +71,7 @@
         
         
         CREATE TABLE messages (
-            id INTEGER PRIMARY KEY,
+            id INTEGER PRIMARY KEY AUTOINCREMENT,
             ts INTEGER NOT NULL,
             room INTEGER NOT NULL,
             msg TEXT NOT NULL