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
8ed55f36
Commit
8ed55f36
authored
Feb 27, 2025
by
qlintonger xeno
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
移除idle消息类型+1
parent
53ff6796
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
2 deletions
+1
-2
src/handles/handle_agora_call.rs
+1
-2
No files found.
src/handles/handle_agora_call.rs
View file @
8ed55f36
...
...
@@ -453,7 +453,7 @@ pub async fn handle_agora_call(
}
let
users
=
ONLINE_USERS
.iter
()
.filter
(|
e
|
e
.value
()
.split
(
','
)
.nth
(
CHANNEL_IDX
)
.unwrap_or
(
""
)
==
channel_id
&&
e
.value
()
.split
(
','
)
.nth
(
STATUS_IDX
)
.unwrap_or
(
""
)
!=
"calling"
)
.filter
(|
e
|
e
.value
()
.split
(
','
)
.nth
(
CHANNEL_IDX
)
.unwrap_or
(
""
)
==
channel_id
)
.map
(|
e
|
e
.key
()
.clone
())
.collect
::
<
Vec
<
_
>>
();
for
user_id
in
users
{
...
...
@@ -467,7 +467,6 @@ pub async fn handle_agora_call(
})
.to_string
(),
&
user_id
)
.await
;
}
if
real_host_id
!=
user_id
{
// 修改状态数据
let
joined
=
update_user_status
(
&
user_id
,
"calling"
,
...
...
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