Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
galene
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
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
nexedi
galene
Commits
97a5bf60
Commit
97a5bf60
authored
Jul 30, 2021
by
Juliusz Chroboczek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Send the locked user-friendly message in the group status.
parent
3b98e123
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
rtpconn/webclient.go
rtpconn/webclient.go
+6
-2
No files found.
rtpconn/webclient.go
View file @
97a5bf60
...
@@ -797,8 +797,12 @@ func (c *webClient) PushConn(g *group.Group, id string, up conn.Up, tracks []con
...
@@ -797,8 +797,12 @@ func (c *webClient) PushConn(g *group.Group, id string, up conn.Up, tracks []con
func
getGroupStatus
(
g
*
group
.
Group
)
map
[
string
]
interface
{}
{
func
getGroupStatus
(
g
*
group
.
Group
)
map
[
string
]
interface
{}
{
status
:=
make
(
map
[
string
]
interface
{})
status
:=
make
(
map
[
string
]
interface
{})
if
locked
,
_
:=
g
.
Locked
();
locked
{
if
locked
,
message
:=
g
.
Locked
();
locked
{
if
message
==
""
{
status
[
"locked"
]
=
true
status
[
"locked"
]
=
true
}
else
{
status
[
"locked"
]
=
message
}
}
}
if
dn
:=
g
.
DisplayName
();
dn
!=
""
{
if
dn
:=
g
.
DisplayName
();
dn
!=
""
{
status
[
"displayName"
]
=
dn
status
[
"displayName"
]
=
dn
...
...
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