Tied in bandDeleteAll string

This commit is contained in:
Al Lansley
2024-08-12 14:17:04 +10:00
parent 93b8e74f2d
commit ea84aa1478
5 changed files with 13 additions and 18 deletions

View File

@@ -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")
}