mirror of
https://github.com/oxen-io/session-android.git
synced 2025-10-16 03:21:29 +00:00
Tied in bandDeleteAll string
This commit is contained in:
@@ -679,8 +679,7 @@ object OpenGroupApi {
|
||||
}
|
||||
|
||||
fun unban(publicKey: String, room: String, server: String): Promise<Unit, Exception> {
|
||||
val request =
|
||||
Request(verb = DELETE, room = room, server = server, endpoint = Endpoint.UserUnban(publicKey))
|
||||
val request = Request(verb = DELETE, room = room, server = server, endpoint = Endpoint.UserUnban(publicKey))
|
||||
return send(request).map {
|
||||
Log.d("Loki", "Unbanned user: $publicKey from: $server.$room")
|
||||
}
|
||||
|
Reference in New Issue
Block a user