Android App InstantUpload unable to detect identical files?

I’ve just switched phones with this all my photos were migrated to identical directories on the new device.

After I setup the NextCloud client I started getting warnings for identical files, this is same file on the device is already present in NextCloud. Similarly, after signing out and relogging in the app, the process will start from the beginning.

Should the app use a checksum to verify if the file is identical? WebDAV seems to support this.

I’m happy to contribute code/fix as long as someone points where the specific code is located.