Added actual call to the persistence layer.

This commit is contained in:
vylion 2016-10-16 20:29:38 +02:00
parent 8ce038dbdd
commit e5504ca6e7

View file

@ -40,8 +40,8 @@ public class Geiserbot {
//private List<String> commands;
private Map<Long, Chat> chats;
public Geiserbot() {
chats = new HashMap<Long, Chat>();
public Geiserbot() throws ReadErrorListException, ReadErrorChatException {
chats = Persistence.getInstance().readChats();
}
public String getUsername() {