Handle properly null avatar
authorKevin Ottens <kevin.ottens@nextcloud.com>
Mon, 6 Jul 2020 12:16:28 +0000 (14:16 +0200)
committerKevin Ottens <ervin@ipsquad.net>
Tue, 7 Jul 2020 16:07:33 +0000 (18:07 +0200)
commitc2632eb604c25f73e3352c20ec2e25047608f8bf
tree23001e8416cbe2a255532baee5b2c8b5e25fdf22
parent32b51a52ef26d7810f49bd04276489e4a955542d
Handle properly null avatar

If we try to produce the avatar before we managed to connect we'd end up
trying to paint in a null image. Just return early, which will allow the
caller to do something else instead.

Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
src/libsync/networkjobs.cpp