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