Skip to content
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

Merged
merged 4 commits into from
Jul 23, 2024
Merged

Enable visio for DINUM instance #1079

merged 4 commits into from
Jul 23, 2024

Conversation

yostyle
Copy link
Contributor

@yostyle yostyle commented Jul 23, 2024

Type of change

  • Feature
  • Bugfix
  • Technical
  • Other :

Content

#1078

Motivation and context

Screenshots / GIFs

Tests

  • Step 1
  • Step 2
  • Step ...

Tested devices

  • Physical
  • Emulator
  • OS version(s):

Checklist

@yostyle yostyle self-assigned this Jul 23, 2024
@yostyle yostyle requested a review from MarcWadai July 23, 2024 13:56
@tchap-danger-bot
Copy link

Warnings
⚠️

Please add a changelog. See instructions here

Generated by 🚫 dangerJS against cb2f00f

@yostyle yostyle marked this pull request as ready for review July 23, 2024 14:18
@@ -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,

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

Copy link
Contributor Author

@yostyle yostyle Jul 23, 2024

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).

Copy link

@MarcWadai MarcWadai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM !

@yostyle yostyle merged commit 7e248e8 into develop Jul 23, 2024
15 of 16 checks passed
@yostyle yostyle deleted the yostyle/enable_visio_dinum branch July 23, 2024 15:54
@yostyle yostyle mentioned this pull request Aug 1, 2024
15 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants