From 023447f4fcbb5c0772a96e7077dba765bf1ed71c Mon Sep 17 00:00:00 2001 From: Yann Diorcet Date: Tue, 14 Aug 2012 09:58:00 +0200 Subject: [PATCH] Disable chat remote notification --- Classes/LinphoneAppDelegate.m | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Classes/LinphoneAppDelegate.m b/Classes/LinphoneAppDelegate.m index 48f26e8af..4700da513 100644 --- a/Classes/LinphoneAppDelegate.m +++ b/Classes/LinphoneAppDelegate.m @@ -193,10 +193,12 @@ int __aeabi_idiv(int a, int b) { if(alert != nil) { NSString *loc_key = [alert objectForKey:@"loc-key"]; if(loc_key != nil) { + /* MODIFICATION disable chat if([loc_key isEqualToString:@"IM_MSG"]) { [[LinphoneManager instance] addInhibitedEvent:kLinphoneTextReceivedSound]; [[PhoneMainView instance] changeCurrentView:[ChatViewController compositeViewDescription]]; } + */ } } }