mirror of
https://github.com/oxen-io/session-android.git
synced 2025-04-27 21:30:45 +00:00
Correctly sync Note to Self conversation color.
This commit is contained in:
parent
a6564f8f84
commit
a2b6dbda14
@ -199,11 +199,12 @@ public class MultiDeviceContactUpdateJob extends ContextJob implements Injectabl
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (ProfileKeyUtil.hasProfileKey(context)) {
|
if (ProfileKeyUtil.hasProfileKey(context)) {
|
||||||
|
Recipient self = Recipient.from(context, Address.fromSerialized(TextSecurePreferences.getLocalNumber(context)), false);
|
||||||
out.write(new DeviceContact(TextSecurePreferences.getLocalNumber(context),
|
out.write(new DeviceContact(TextSecurePreferences.getLocalNumber(context),
|
||||||
Optional.absent(), Optional.absent(),
|
Optional.absent(), Optional.absent(),
|
||||||
Optional.absent(), Optional.absent(),
|
Optional.of(self.getColor().serialize()), Optional.absent(),
|
||||||
Optional.of(ProfileKeyUtil.getProfileKey(context)),
|
Optional.of(ProfileKeyUtil.getProfileKey(context)),
|
||||||
false, Optional.absent()));
|
false, self.getExpireMessages() > 0 ? Optional.of(self.getExpireMessages()) : Optional.absent()));
|
||||||
}
|
}
|
||||||
|
|
||||||
out.close();
|
out.close();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user