Do not group conference call logs

This commit is contained in:
Sylvain Berfini 2022-05-19 12:50:31 +02:00
parent 4c809ff7d2
commit 975905428f

View file

@ -116,7 +116,8 @@ class CallLogsListViewModel : ViewModel() {
if ((!missed && !conference) || (missed && LinphoneUtils.isCallLogMissed(callLog)) || (conference && callLog.wasConference())) {
if (previousCallLogGroup == null) {
previousCallLogGroup = GroupedCallLogData(callLog)
} else if (previousCallLogGroup.lastCallLog.localAddress.weakEqual(callLog.localAddress) &&
} else if (!callLog.wasConference() && // Do not group conference call logs
previousCallLogGroup.lastCallLog.localAddress.weakEqual(callLog.localAddress) &&
previousCallLogGroup.lastCallLog.remoteAddress.equal(callLog.remoteAddress)
) {
if (TimestampUtils.isSameDay(