Nextcloud Chat / Talk message expiry

When setting an expiry time in Talk conversations, do the old messages get deleted from the database or can they still be retrieved later?