mirror of
https://github.com/aljazceru/signal-cli.git
synced 2026-01-30 19:14:20 +01:00
Create an initial empty profile after registration
This commit is contained in:
@@ -381,8 +381,8 @@ public class Manager implements Closeable {
|
||||
accountManager.setVersionedProfile(account.getUuid(),
|
||||
account.getProfileKey(),
|
||||
newProfile.getInternalServiceName(),
|
||||
newProfile.getAbout(),
|
||||
newProfile.getAboutEmoji(),
|
||||
newProfile.getAbout() == null ? "" : newProfile.getAbout(),
|
||||
newProfile.getAboutEmoji() == null ? "" : newProfile.getAboutEmoji(),
|
||||
streamDetails);
|
||||
}
|
||||
|
||||
|
||||
@@ -161,6 +161,8 @@ public class RegistrationManager implements Closeable {
|
||||
account = null;
|
||||
|
||||
m.refreshPreKeys();
|
||||
// Set an initial empty profile so user can be added to groups
|
||||
m.setProfile(null, null, null, null);
|
||||
|
||||
final var result = m;
|
||||
m = null;
|
||||
|
||||
Reference in New Issue
Block a user