getProfile: Pull information from sendMetadata properly
This commit is contained in:
parent
ebafc52f61
commit
d4ee1d4133
1 changed files with 2 additions and 1 deletions
|
@ -1966,7 +1966,8 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
const sendMetadata = c.getSendMetadata({ disableMeCheck: true }) || {};
|
const sendMetadata = c.getSendMetadata({ disableMeCheck: true }) || {};
|
||||||
const getInfo = sendMetadata[c.id] || {};
|
const getInfo =
|
||||||
|
sendMetadata[c.get('e164')] || sendMetadata[c.get('uuid')] || {};
|
||||||
|
|
||||||
if (getInfo.accessKey) {
|
if (getInfo.accessKey) {
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue