fix an issue where new additions to group not appearing in mentions

This commit is contained in:
ryanzhao 2022-04-27 16:36:50 +10:00
parent eab9cf96ec
commit a12e86a36b

View file

@ -1,4 +1,5 @@
import PromiseKit
import SessionMessagingKit
@objc(SNEditClosedGroupVC)
final class EditClosedGroupVC : BaseVC, UITableViewDataSource, UITableViewDelegate {
@ -292,6 +293,7 @@ final class EditClosedGroupVC : BaseVC, UITableViewDataSource, UITableViewDelega
}, completion: {
let _ = promise.done(on: DispatchQueue.main) {
guard let self = self else { return }
MentionsManager.populateUserPublicKeyCacheIfNeeded(for: self.thread.uniqueId!)
self.dismiss(animated: true, completion: nil) // Dismiss the loader
popToConversationVC(self)
}