From 07ab1bd93140ad7e490f4597441ae93cc726143f Mon Sep 17 00:00:00 2001 From: Michael Kirk Date: Sat, 8 Oct 2016 11:49:52 -0400 Subject: [PATCH] Call notifications appear immediately after call previously you had to leave/return. This happens because we unregister observers while our view is not visible. // FREEBIE --- Signal/src/view controllers/MessagesViewController.m | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Signal/src/view controllers/MessagesViewController.m b/Signal/src/view controllers/MessagesViewController.m index 96e11e029..afd9b981e 100644 --- a/Signal/src/view controllers/MessagesViewController.m +++ b/Signal/src/view controllers/MessagesViewController.m @@ -345,6 +345,9 @@ typedef enum : NSUInteger { [self toggleObservers:YES]; + // Triggering modified notification renders "call notification" when leaving full screen call view + [self.thread touch]; + // restart any animations that were stopped e.g. while inspecting the contact info screens. [[NSNotificationCenter defaultCenter] postNotificationName:OWSMessagesViewControllerDidAppearNotification object:nil];