mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-13 17:28:52 +00:00
fix(addressbook): Fix asynchronous selection of contacts - cards are not added as they're not yet loaded.
This commit is contained in:
@@ -414,7 +414,8 @@
|
||||
recipients.push(card.$shortFormat());
|
||||
}
|
||||
}
|
||||
else if (selectedFolder.$loadCard(card)) {
|
||||
else {
|
||||
selectedFolder.$loadCard(card);
|
||||
promises.push(selectedFolder.$futureHeadersData.then(function() {
|
||||
var i = selectedFolder.idsMap[card.id];
|
||||
if (angular.isDefined(i)) {
|
||||
|
||||
Reference in New Issue
Block a user