File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,13 @@ All notable changes to this project will be documented in this file.
1111The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.1.0/ ) ,
1212and this project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
1313
14+ ## [ 2.5.2] - 2025-01-18
15+
16+ ### Fixed
17+
18+ - Fix an issue where the implementation of the RoomUnbanner capability
19+ was actually calling ` /ban ` .
20+
1421## [ 2.5.0] - 2025-01-12
1522
1623### Added
Original file line number Diff line number Diff line change @@ -281,11 +281,10 @@ export class BotSDKBaseClient
281281 }
282282 public async unbanUser (
283283 room : StringRoomID | MatrixRoomID ,
284- userID : StringUserID ,
285- reason ?: string
284+ userID : StringUserID
286285 ) : Promise < ActionResult < void > > {
287286 return await this . client
288- . banUser ( userID , toRoomID ( room ) , reason )
287+ . unbanUser ( userID , toRoomID ( room ) )
289288 . then ( ( _ ) => Ok ( undefined ) , resultifyBotSDKRequestError ) ;
290289 }
291290 public async sendStateEvent (
You can’t perform that action at this time.
0 commit comments