File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -200,7 +200,7 @@ class ServerRequiredError extends Error {
200200const USER_FEATURES = [ "mentions" ] ;
201201export class AdminRoomHandler {
202202 private readonly botUser : MatrixUser ;
203- private readonly roomIdsExpectingCertFp = new Map < string , ( certificate : string ) => void > ( ) ;
203+ private readonly roomIdsExpectingCertFp : Map < string , ( certificate : string ) => void > = new Map ( ) ;
204204 constructor ( private ircBridge : IrcBridge , private matrixHandler : MatrixHandler ) {
205205 this . botUser = new MatrixUser ( ircBridge . appServiceUserId , undefined , false ) ;
206206 }
@@ -316,7 +316,8 @@ export class AdminRoomHandler {
316316 req . log . info ( `${ sender } is attempting to store a cert for ${ server . domain } ` ) ;
317317 await this . ircBridge . sendMatrixAction (
318318 adminRoom , this . botUser , new MatrixAction (
319- ActionType . Notice , `Please enter your certificate and private key (without formatting) for ${ server . getReadableName ( ) } .`
319+ ActionType . Notice ,
320+ `Please enter your certificate and private key (without formatting) for ${ server . getReadableName ( ) } .`
320321 )
321322 ) ;
322323 let certfp : string ;
@@ -676,7 +677,6 @@ export class AdminRoomHandler {
676677 const server = this . extractServerFromArgs ( args ) ;
677678
678679 const domain = server . domain ;
679- const store = this . ircBridge . getStore ( ) ;
680680 let notice ;
681681
682682 try {
You can’t perform that action at this time.
0 commit comments