|
|
|
@ -125,7 +125,11 @@ const handleContactReceived = async (
|
|
|
|
|
// updateProfile will do a commit for us
|
|
|
|
|
contactConvo.set('active_at', _.toNumber(envelope.timestamp));
|
|
|
|
|
|
|
|
|
|
if (window.lokiFeatureFlags.useMessageRequests === true && window.inboxStore?.getState().userConfig.messageRequests) {
|
|
|
|
|
if (
|
|
|
|
|
window.lokiFeatureFlags.useMessageRequests === true &&
|
|
|
|
|
window.inboxStore?.getState().userConfig.messageRequests &&
|
|
|
|
|
contactReceived.isApproved === true
|
|
|
|
|
) {
|
|
|
|
|
contactConvo.setIsApproved(Boolean(contactReceived.isApproved));
|
|
|
|
|
|
|
|
|
|
if (contactReceived.isBlocked === true) {
|
|
|
|
|