mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 20:26:24 +00:00
When incoming message should've been sealed sender, reply with profile key
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user