forked from mirrors/linphone-iphone
Disable chat remote notification
This commit is contained in:
parent
f8738e9b64
commit
023447f4fc
1 changed files with 2 additions and 0 deletions
|
|
@ -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]];
|
||||
}
|
||||
*/
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue