debug & rename setChatHasRead to setChat