The XML Log store does not consider the type_mask argument. This is done intentionally mainly because doing it correctly requires looking inside the files to see if the requested types (text or call) exists. This may take time and would end up freezing Empathy UI. This bug is being created to discuss how we will fix this issue. An option is to create an _exists_async() method and deprecate the synchronous version. Feel free to put yo two cents.
This is fixed now.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.