Ensure conversation id in storeSession

This commit is contained in:
Fedor Indutny 2021-09-10 10:17:32 -07:00 committed by GitHub
parent 87747ebae2
commit 091f3653e7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 29 additions and 18 deletions

View file

@ -1664,7 +1664,7 @@ export default class MessageSender {
proto.timestamp = timestamp;
const identifier = uuid || e164;
const theirUuid = UUID.checkedLookup(identifier);
const theirUuid = uuid ? new UUID(uuid) : UUID.checkedLookup(e164);
const logError = (prefix: string) => (error: Error) => {
window.log.error(prefix, error && error.stack ? error.stack : error);