Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
ws-rst
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
qlintonger xeno
ws-rst
Commits
6a44726f
Commit
6a44726f
authored
Feb 24, 2025
by
qlintonger xeno
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
阐释添加额外消息发送+2
parent
717921fb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
2 deletions
+1
-2
src/deport.rs
+1
-2
No files found.
src/deport.rs
View file @
6a44726f
...
...
@@ -70,8 +70,7 @@ pub async fn handle_ws_msg(
for
entry
in
ONLINE_USERS
.iter
()
{
let
target_id
=
entry
.key
();
let
target_data
=
entry
.value
();
if
target_data
.split
(
','
)
.nth
(
1
)
.unwrap_or
(
""
)
==
channel_id
&&
target_id
!=
&
from_id
{
if
target_data
.split
(
','
)
.nth
(
1
)
.unwrap_or
(
""
)
==
channel_id
{
if
let
Some
(
sender
)
=
CLIENT_SENDERS
.iter
()
.find
(|
e
|
e
.key
()
.
0
==
*
target_id
)
.map
(|
e
|
e
.key
()
.clone
())
{
...
...
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