Minor code cleanup
This commit is contained in:
@ -551,7 +551,6 @@ class BaresipService: Service() {
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
val aor = ua.account.aor
|
||||
|
||||
Log.d(TAG, "got uaEvent $event/$aor/$callp")
|
||||
|
||||
@ -33,7 +33,7 @@ class NewCallHistory(val aor: String, val peerUri: String, val direction: String
|
||||
}
|
||||
|
||||
private fun aorHistorySize(aor: String): Int {
|
||||
return BaresipService.callHistory.filter { it.aor == aor }.count()
|
||||
return BaresipService.callHistory.count { it.aor == aor }
|
||||
}
|
||||
|
||||
fun aorLatestHistory(aor: String): NewCallHistory? {
|
||||
|
||||
Reference in New Issue
Block a user