mirror of
https://git.jami.net/savoirfairelinux/jami-daemon.git
synced 2025-08-07 22:02:12 +08:00
misc: do not commit end of the call for incoming 1:1 call
This causes a regression where we see both Incoming and Outgoing missed call Change-Id: Ic3d2ed2f4ca1018907619da33485af22f82da850
This commit is contained in:
@ -124,7 +124,7 @@ Call::Call(const std::shared_ptr<Account>& account,
|
||||
if (auto jamiAccount = std::dynamic_pointer_cast<JamiAccount>(getAccount().lock())) {
|
||||
// TODO: This will be removed when 1:1 swarm will have a conference.
|
||||
// For now, only commit for 1:1 calls
|
||||
if (toUsername().find('/') == std::string::npos) {
|
||||
if (toUsername().find('/') == std::string::npos && getCallType() == CallType::OUTGOING) {
|
||||
jamiAccount->convModule()->addCallHistoryMessage(getPeerNumber(),
|
||||
getCallDuration().count());
|
||||
}
|
||||
|
Reference in New Issue
Block a user