forked from mirrors/linphone-iphone
Do not aggregate IMDN for basic chat rooms.
This commit is contained in:
parent
6a119f971f
commit
1041cdb5da
1 changed files with 6 additions and 0 deletions
|
|
@ -206,6 +206,12 @@ void Imdn::send () {
|
|||
}
|
||||
|
||||
void Imdn::startTimer () {
|
||||
if (!chatRoom->canHandleCpim()) {
|
||||
// Compatibility mode for basic chat rooms, do not aggregate notifications
|
||||
send();
|
||||
return;
|
||||
}
|
||||
|
||||
unsigned int duration = 500;
|
||||
if (!timer)
|
||||
timer = chatRoom->getCore()->getCCore()->sal->create_timer(timerExpired, this, duration, "imdn timeout");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue