no message

This commit is contained in:
Giuseppe Nucifora 2016-05-02 10:43:35 +02:00
parent 0c37caed5c
commit 7f4757d9e0

View File

@ -131,8 +131,8 @@ static bool isFirstAccess = YES;
}
- (void) setUser:(PNUser *)user {
if (!_user) {
_user = nil;
if (!_user && user) {
_user = user;
[[NSNotificationCenter defaultCenter] postNotificationName:PNObjectLocalNotificationPNInstallationUserNew object:nil];
}
else if(_user.objID != user.objID) {