Browse Source

Fix condition inverted by #463

This prevented new device inboxes (imagers) from being initialized
Adam Johnson 9 years ago
parent
commit
61a07c35fc
  1. 2
      Sources/Plasma/PubUtilLib/plVault/plVaultClientApi.cpp

2
Sources/Plasma/PubUtilLib/plVault/plVaultClientApi.cpp

@ -3753,7 +3753,7 @@ hsRef<RelVaultNode> VaultAgeSetDeviceInboxAndWait (const plString& deviceName, c
// if we found the inbox or its a global inbox then return here, otherwise if its the default inbox and // if we found the inbox or its a global inbox then return here, otherwise if its the default inbox and
// it wasn't found then continue on and create the inbox // it wasn't found then continue on and create the inbox
hsRef<RelVaultNode> existing = VaultAgeGetDeviceInbox(deviceName); hsRef<RelVaultNode> existing = VaultAgeGetDeviceInbox(deviceName);
if (existing || inboxName == DEFAULT_DEVICE_INBOX) if (existing || inboxName != DEFAULT_DEVICE_INBOX)
return existing; return existing;
hsRef<RelVaultNode> device, inbox; hsRef<RelVaultNode> device, inbox;

Loading…
Cancel
Save