backport commit from git/master : https://projects.kde.org/projects/extragear/libs/libkface/repository/revisions/0f952fb2ac6dfd057d03f298479631f73e15745b