Extend updateProfile command to set family name

This commit is contained in:
AsamK 2021-05-05 19:32:52 +02:00
parent 3d361d54bb
commit b7f05a1c80
5 changed files with 34 additions and 18 deletions

View file

@ -372,7 +372,7 @@ public class DbusSignalImpl implements Signal {
Optional<File> avatarFile = removeAvatar
? Optional.absent()
: avatarPath == null ? null : Optional.of(new File(avatarPath));
m.setProfile(name, about, aboutEmoji, avatarFile);
m.setProfile(name, null, about, aboutEmoji, avatarFile);
} catch (IOException e) {
throw new Error.Failure(e.getMessage());
}