mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-27 12:05:22 +00:00
docs: add documentation around the notifyUser param
This commit is contained in:
parent
e426d30f67
commit
ace0144ffe
@ -94,6 +94,10 @@ object ClosedGroupsProtocolV2 {
|
||||
return deferred.promise
|
||||
}
|
||||
|
||||
/**
|
||||
* @param notifyUser Inserts an outgoing info message for the user's leave message, useful to set `false` if
|
||||
* you are exiting asynchronously and deleting the thread from [HomeActivity][org.thoughtcrime.securesms.loki.activities.HomeActivity.deleteConversation]
|
||||
*/
|
||||
@JvmStatic @JvmOverloads
|
||||
fun explicitLeave(context: Context, groupPublicKey: String, notifyUser: Boolean = true): Promise<Unit, Exception> {
|
||||
val deferred = deferred<Unit, Exception>()
|
||||
|
Loading…
Reference in New Issue
Block a user