mirror of
https://github.com/quik-sms/quik.git
synced 2026-11-21 13:18:52 +01:00
Show popup to block conversation for call control
This commit is contained in:
@@ -57,8 +57,6 @@ class CallControlBlockingClient @Inject constructor(
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun canBlock(): Boolean = true
|
|
||||||
|
|
||||||
override fun block(addresses: List<String>): Completable = Completable.fromCallable {
|
override fun block(addresses: List<String>): Completable = Completable.fromCallable {
|
||||||
val reports = addresses.map { CallControl.Report(it) }
|
val reports = addresses.map { CallControl.Report(it) }
|
||||||
CallControl.report(context, arrayListOf<CallControl.Report>().apply { addAll(reports) },
|
CallControl.report(context, arrayListOf<CallControl.Report>().apply { addAll(reports) },
|
||||||
|
|||||||
Reference in New Issue
Block a user