diff --git a/Monal/Classes/MLConstants.h b/Monal/Classes/MLConstants.h index 864be98d5..ea1725bd3 100644 --- a/Monal/Classes/MLConstants.h +++ b/Monal/Classes/MLConstants.h @@ -145,7 +145,8 @@ static inline NSString* _Nonnull LocalizationNotNeeded(NSString* _Nonnull s) #define kMonalIncomingSDP @"kMonalIncomingSDP" #define kMonalIncomingICECandidate @"kMonalIncomingICECandidate" #define kMonalWillBeFreezed @"kMonalWillBeFreezed" -#define kMonalIsFreezed @"kMonalIsFreezed" +#define kMonalFrozen @"kMonalFrozen" +#define kMonalUnfrozen @"kMonalUnfrozen" #define kMonalNewMessageNotice @"kMonalNewMessageNotice" #define kMonalMucSubjectChanged @"kMonalMucSubjectChanged" #define kMonalDeletedMessageNotice @"kMonalDeletedMessageNotice" diff --git a/Monal/Classes/MLProcessLock.m b/Monal/Classes/MLProcessLock.m index 1f6ac4cc3..a25952541 100755 --- a/Monal/Classes/MLProcessLock.m +++ b/Monal/Classes/MLProcessLock.m @@ -65,7 +65,7 @@ +(void) lock lock = flock(_ownLockFD, LOCK_EX | LOCK_NB); if(lock != 0) @throw [NSException exceptionWithName:@"LockingError" reason:[NSString stringWithFormat:@"flock returned: %d (%d) on file: %s", lock, errno, _ownLockPath] userInfo:nil]; - [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(unlock) name:kMonalIsFreezed object:nil]; + [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(unlock) name:kMonalFrozen object:nil]; } }