From e5504ca6e7afbb575ee5d805c39f405e51304c9d Mon Sep 17 00:00:00 2001 From: vylion Date: Sun, 16 Oct 2016 20:29:38 +0200 Subject: [PATCH] Added actual call to the persistence layer. --- src/main/Geiserbot.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/Geiserbot.java b/src/main/Geiserbot.java index e253fa0..2d77011 100644 --- a/src/main/Geiserbot.java +++ b/src/main/Geiserbot.java @@ -40,8 +40,8 @@ public class Geiserbot { //private List commands; private Map chats; - public Geiserbot() { - chats = new HashMap(); + public Geiserbot() throws ReadErrorListException, ReadErrorChatException { + chats = Persistence.getInstance().readChats(); } public String getUsername() {