* Pridana metoda getCurrentMessagesAndClear()