HistoryKeeper::getChatHistory(..): fix in sql statement
Merge branch 'pr710'