onContactReceived: Tighten up 'self' check
This commit is contained in:
parent
a14936451e
commit
fd612234bb
1 changed files with 3 additions and 2 deletions
|
@ -1979,8 +1979,9 @@
|
||||||
const details = ev.contactDetails;
|
const details = ev.contactDetails;
|
||||||
|
|
||||||
if (
|
if (
|
||||||
details.number === textsecure.storage.user.getNumber() ||
|
(details.number &&
|
||||||
details.uuid === textsecure.storage.user.getUuid()
|
details.number === textsecure.storage.user.getNumber()) ||
|
||||||
|
(details.uuid && details.uuid === textsecure.storage.user.getUuid())
|
||||||
) {
|
) {
|
||||||
// special case for syncing details about ourselves
|
// special case for syncing details about ourselves
|
||||||
if (details.profileKey) {
|
if (details.profileKey) {
|
||||||
|
|
Loading…
Reference in a new issue