user delete does no longer work in 5.29.0
Steps to reproduce
Due to the EU GDPR I am always deleting users from our instance when they left us.
This did always work quite well in the last couple of years.
Now with version 5.29.0 it is no longer working. I do get the information that the messages to delete could not be selected. The error appears with the old CLI and also with the new mmctl.
It did still work in 5.27.x and as far as I remember also in 5.28.x with the old CLI (there I did not yet use mmctl)
With the old CLI:
root@xyz:/var/xyz/mattermost# docker-compose exec app mattermost user delete 88m5gojcmbdcb8wf14dzhrmwae --confirm Error: PermanentDeleteUser: Konnte die zu löschenden Nachrichten für den Benutzer nicht auswählen., failed to get a thread: resource: Thread id: 557ee7cknb8nichugob13x1oqo
With the new mmctl the additional information that the it failed to get a thread is not shown in the console.
root@xyz:/var/xyz/mattermost# docker-compose exec app mmctl user delete 88m5gojcmbdcb8wf14dzhrmwae --confirm --local Unable to delete user 'abc.xyz' error: : Konnte die zu löschenden Nachrichten für den Benutzer nicht auswählen.,
user should be deleted like it worked in the older versions
(the Bleve search engine is active in our instance since 5.27.x, so for a deletion with the old CLI I always had to first temporarily deactivate Bleve, do the deletion and then reactivate Bleve)