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
e2516425
Commit
e2516425
authored
Feb 13, 2025
by
qlintonger xeno
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
完美解决CmdOnlineUserLists+1
parent
043688e3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
src/client.rs
+2
-0
No files found.
src/client.rs
View file @
e2516425
...
...
@@ -87,6 +87,7 @@ pub(crate) async fn handle_client(
send_online_users_and_send
(
&
mut
sender
,
&
from_id
)
.await
{
println!
(
"处理在线用户列表出错了:{:?}"
,
e
);
break
;
}
}
ClientMessage
::
SendClientMessage
(
...
...
@@ -95,6 +96,7 @@ pub(crate) async fn handle_client(
)
=>
{
if
let
Err
(
e
)
=
sender
.send
(
Message
::
text
(
client_message
))
.await
{
println!
(
"发送给用户id {} 独立消息失败:{:?}"
,
from_id
.clone
(),
e
);
break
;
}
}
}
...
...
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