mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-22 18:00:02 +01:00
Improve remote delete handling in group story threads.
This commit is contained in:
@@ -15,6 +15,17 @@ import org.thoughtcrime.securesms.util.task.ProgressDialogAsyncTask
|
||||
|
||||
object DeleteDialog {
|
||||
|
||||
/**
|
||||
* Displays a deletion dialog for the given set of message records.
|
||||
*
|
||||
* @param context Android Context
|
||||
* @param messageRecords The message records to delete
|
||||
* @param title The dialog title
|
||||
* @param message The dialog message, or null
|
||||
* @param forceRemoteDelete Allow remote deletion, even if it would normally be disallowed
|
||||
*
|
||||
* @return a Single, who's value notes whether or not a thread deletion occurred.
|
||||
*/
|
||||
fun show(
|
||||
context: Context,
|
||||
messageRecords: Set<MessageRecord>,
|
||||
|
||||
Reference in New Issue
Block a user