implemented https://github.com/globaleaks/GlobaLeaks/issues/988