-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable visio for DINUM instance #1079
Conversation
@@ -147,7 +147,7 @@ class CallItemFactory @Inject constructor( | |||
val userOfInterest = roomSummary.toMatrixItem() | |||
val attributes = messageItemAttributesFactory.create(null, informationData, callback, reactionsSummaryEvents).let { | |||
CallTileTimelineItem.Attributes( | |||
isVoipSupported = vectorFeatures.tchapIsVoipSupported(session.sessionParams.homeServerUrl), | |||
isCallSupported = vectorFeatures.tchapIsVisioSupported(session.sessionParams.homeServerUrl) || callKind.isVoiceCall, | |||
callId = callId, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pourquoi ajouter la condition || callKind.isVoiceCall
? Cela va overrider tchapIsVisioSupported qui défini l'accès par HS non ? je suppose que callKind.isVoiceCall
peut potentiellement être true
alors qu'il n'est pas activé sur le HS
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
callKind.isVoiceCall
c'est pour les appels audios uniquement (pas la visio). On accepte l'appel entrant dans la timeline si il s'agit d'un appel audio (peu importe le HS) ou si on supporte la visio (pour le HS DINUM).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM !
Type of change
Content
#1078
Motivation and context
Screenshots / GIFs
Tests
Tested devices
Checklist