Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
S
srvpro2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nanahira
srvpro2
Commits
811623a7
Commit
811623a7
authored
Feb 17, 2026
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
entirely skip windbot deck check
parent
2270870b
Pipeline
#43283
passed with stages
in 2 minutes and 22 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
4 deletions
+16
-4
src/feats/windbot/windbot-provider.ts
src/feats/windbot/windbot-provider.ts
+16
-4
No files found.
src/feats/windbot/windbot-provider.ts
View file @
811623a7
...
@@ -13,6 +13,7 @@ import type {
...
@@ -13,6 +13,7 @@ import type {
WindbotJoinTokenData
,
WindbotJoinTokenData
,
}
from
'
./utility
'
;
}
from
'
./utility
'
;
import
{
ReverseWsClient
}
from
'
./reverse-ws-client
'
;
import
{
ReverseWsClient
}
from
'
./reverse-ws-client
'
;
import
{
RoomCheckDeck
}
from
'
../../room/room-event/room-check-deck
'
;
declare
module
'
../../client
'
{
declare
module
'
../../client
'
{
interface
Client
{
interface
Client
{
...
@@ -94,10 +95,21 @@ export class WindBotProvider {
...
@@ -94,10 +95,21 @@ export class WindBotProvider {
await
this
.
requestWindbotJoin
(
room
,
botName
);
await
this
.
requestWindbotJoin
(
room
,
botName
);
});
});
this
.
ctx
.
middleware
(
OnRoomFinalize
,
async
(
event
,
_client
,
next
)
=>
{
this
.
ctx
this
.
deleteRoomToken
(
event
.
room
.
name
);
.
middleware
(
OnRoomFinalize
,
async
(
event
,
_client
,
next
)
=>
{
return
next
();
this
.
deleteRoomToken
(
event
.
room
.
name
);
});
return
next
();
})
.
middleware
(
RoomCheckDeck
,
async
(
evt
,
client
,
next
)
=>
{
if
(
client
.
windbot
)
{
return
undefined
;
// entirely skip check deck for windbot client
}
return
next
();
},
true
,
);
}
}
async
init
()
{
async
init
()
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment