mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-17 19:18:06 +00:00
Add config parameter to be able to disable aggregation of IMDN.
This commit is contained in:
parent
4223dbbc5a
commit
9b0d705ee0
1 changed files with 3 additions and 1 deletions
|
|
@ -216,7 +216,9 @@ void Imdn::send () {
|
|||
}
|
||||
|
||||
void Imdn::startTimer () {
|
||||
if (!chatRoom->canHandleCpim()) {
|
||||
auto config = linphone_core_get_config(chatRoom->getCore()->getCCore());
|
||||
bool aggregateImdn = linphone_config_get_bool(config, "misc", "aggregate_imdn", TRUE);
|
||||
if (!chatRoom->canHandleCpim() || !aggregateImdn) {
|
||||
// Compatibility mode for basic chat rooms, do not aggregate notifications
|
||||
send();
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue