When incoming message should've been sealed sender, reply with profile key
This commit is contained in:
parent
18c86898d1
commit
8ef14e6f39
10 changed files with 384 additions and 38 deletions
|
@ -38,6 +38,7 @@ import {
|
|||
getSafeLongFromTimestamp,
|
||||
getTimestampFromLong,
|
||||
} from '../util/timestampLongUtils';
|
||||
import { ourProfileKeyService } from './ourProfileKey';
|
||||
|
||||
const { updateConversation } = dataInterface;
|
||||
|
||||
|
@ -851,7 +852,7 @@ export async function mergeAccountRecord(
|
|||
window.storage.put('phoneNumberDiscoverability', discoverability);
|
||||
|
||||
if (profileKey) {
|
||||
window.storage.put('profileKey', profileKey.toArrayBuffer());
|
||||
ourProfileKeyService.set(profileKey.toArrayBuffer());
|
||||
}
|
||||
|
||||
if (pinnedConversations) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue