Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
Rocket.Chat
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
RocketChat
Rocket.Chat
Commits
1c710932
Unverified
Commit
1c710932
authored
2 years ago
by
Aleksander Nicacio da Silva
Committed by
GitHub
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Regression: Removed CE watermark from VoipFooter (#26239)
parent
e261012d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
apps/meteor/client/sidebar/footer/voip/index.tsx
+3
-5
3 additions, 5 deletions
apps/meteor/client/sidebar/footer/voip/index.tsx
with
3 additions
and
5 deletions
apps/meteor/client/sidebar/footer/voip/index.tsx
+
3
−
5
View file @
1c710932
...
...
@@ -2,14 +2,13 @@ import type { VoIpCallerInfo } from '@rocket.chat/core-typings';
import
{
useEndpoint
,
useTranslation
}
from
'
@rocket.chat/ui-contexts
'
;
import
React
,
{
ReactElement
,
useCallback
,
useMemo
,
useState
}
from
'
react
'
;
import
{
useHasLicenseModule
}
from
'
../../../../ee/client/hooks/useHasLicenseModule
'
;
import
{
useVoipFooterMenu
}
from
'
../../../../ee/client/hooks/useVoipFooterMenu
'
;
import
{
SidebarFooterWatermark
}
from
'
../../../../ee/client/sidebar/footer/SidebarFooterWatermark
'
;
import
{
useCallActions
,
useCallCreateRoom
,
useCallerInfo
,
useCallOpenRoom
,
useIsVoipEnterprise
,
useOpenedRoomInfo
,
useQueueCounter
,
useQueueName
,
...
...
@@ -32,7 +31,7 @@ export const VoipFooter = (): ReactElement | null => {
const
[
muted
,
setMuted
]
=
useState
(
false
);
const
[
paused
,
setPaused
]
=
useState
(
false
);
const
isE
E
=
useHasLicenseModule
(
'
v
oip
-e
nterprise
'
);
const
isE
nterprise
=
useIsV
oip
E
nterprise
(
);
const
toggleMic
=
useCallback
(
(
state
:
boolean
)
=>
{
...
...
@@ -104,8 +103,7 @@ export const VoipFooter = (): ReactElement | null => {
dispatchEvent
=
{
dispatchEvent
}
openedRoomInfo
=
{
openedRoomInfo
}
anonymousText
=
{
t
(
'
Anonymous
'
)
}
isEnterprise
=
{
isEE
===
true
}
children
=
{
<
SidebarFooterWatermark
/>
}
isEnterprise
=
{
isEnterprise
}
options
=
{
options
}
/>
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment