Fix roster not cleared when logging into account without contacts

Fixes #294.
11 jobs for fix/roster-not-cleared in 45 minutes and 57 seconds (queued for 59 minutes and 17 seconds)
Status Job ID Name Coverage
  Test
passed #12909
clazy

00:01:43

passed #12910
qmllint

00:00:20

 
  Build
passed #12914
archlinux

00:01:26

passed #12913
debian-sid

00:01:06

passed #12912
neon-bionic

00:00:58

passed #12911
ubuntu-trusty

00:01:08

 
  Deploy
passed #12918
allowed to fail
android

00:09:17

failed #12916
allowed to fail
click-xenial

00:05:59

passed #12915
allowed to fail
linux-appimage

00:07:52

passed #12919
allowed to fail
mac-osxcross

00:07:55

passed #12917
allowed to fail
windows-mxe

00:08:06

 
Name Stage Failure
failed
click-xenial Deploy
-- Configuring incomplete, errors occurred!
See also "/builds/lnj/kaidan/build/CMakeFiles/CMakeOutput.log".
See also "/builds/lnj/kaidan/build/CMakeFiles/CMakeError.log".
Building qxmpp
Building zxing-cpp
Checking dependencies
Dependencies already installed
Command '['bash', '-c', '../../utils/build-linux-click.sh']' returned non-zero exit status 1
ERROR: Job failed: exit code 1