We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
presenceDate is always nil for any XMPPResourceCoreDataStorageObject, so there is no way to correctly compare two resources. I've put following code:
self.presenceDate = [presence delayedDeliveryDate]; if (self.presenceDate == nil) { self.presenceDate = [[NSDate alloc] init]; }
in XMPPResourceCoreDataStorageObject: - (void)updateWithPresence:(XMPPPresence *)presence to solve this problem.
XMPPResourceCoreDataStorageObject: - (void)updateWithPresence:(XMPPPresence *)presence
The text was updated successfully, but these errors were encountered:
presence date set in XMPPResourceCoreDataStorageObject
1d10d60
Refactored with a tip from robbiehanson#629. Without the the added code, presenceDate is always nil for any XMPPResourceCoreDataStorageObject
No branches or pull requests
presenceDate is always nil for any XMPPResourceCoreDataStorageObject, so there is no way to correctly compare two resources.
I've put following code:
in
XMPPResourceCoreDataStorageObject: - (void)updateWithPresence:(XMPPPresence *)presence
to solve this problem.The text was updated successfully, but these errors were encountered: