Skip to content

Conversation

@PVince81
Copy link
Member

@PVince81 PVince81 commented Nov 25, 2020

To remove duplication of the "get current participant" logic all over
the place and also for future use.

Open issue:

Tested based on the diff:

  • files sidebar call
  • public share sidebar
  • conversation messages
  • call button
  • app.vue: warn leaving when in call
  • mainview.vue: is in lobby check
  • newgroupconversation.vue: test creating a conversation while being in a call

To remove duplication of the "get current participant" logic all over
the place and also for future use.

Signed-off-by: Vincent Petry <[email protected]>
@PVince81 PVince81 self-assigned this Nov 25, 2020
@PVince81 PVince81 added this to the 💚 Next Major (21) milestone Nov 25, 2020
This also fixes a discrepancy in the participant method where the token
check was mistakenly inverted so that a dummy disconnected participant
would be returned despite being in a call.

Signed-off-by: Vincent Petry <[email protected]>
@PVince81 PVince81 force-pushed the techdebt/noid/participant-mixin branch from 8728e14 to 699df4b Compare November 26, 2020 07:48
Read the current conversation token directly from the store
in both participant and isInCall mixins.

Signed-off-by: Vincent Petry <[email protected]>
@PVince81 PVince81 marked this pull request as ready for review November 26, 2020 13:34
@PVince81
Copy link
Member Author

I retested the checkboxes items in the OP and all went fine, merging

@PVince81 PVince81 merged commit 2f146fb into master Nov 26, 2020
@PVince81 PVince81 deleted the techdebt/noid/participant-mixin branch November 26, 2020 15:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants