nemomobile/libcontacts — pull request #33 by matthewvogt (2013-09-09 23:10:22+00:00)
Title: [libcontacts] Reverse the logic for avatar data inspection

Since QtVersit removes the encoding parameter, it will be more reliable
to test the data to see if it contains a resolvable URL or file path,
and fall back to trying to interpret the data as an image.