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

FFI: Update the power levels of multiple users at once. #3177

Merged
merged 2 commits into from
Mar 4, 2024

Conversation

pixlwave
Copy link
Member

Having noticed that we were about to queue up calls for multiple members in EX it seemed worth passing in an array. I'm honestly not sure why I didn't originally expose this method in line with the SDK method it calls, but it's fixed now!

@pixlwave pixlwave requested a review from a team as a code owner February 29, 2024 13:17
@pixlwave pixlwave requested review from bnjbvr and jmartinesp and removed request for a team February 29, 2024 13:17
@pixlwave pixlwave changed the title FFI: Update the power levels of multiple users as once. FFI: Update the power levels of multiple users at once. Feb 29, 2024
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 83.85%. Comparing base (8392ef0) to head (c251f16).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3177   +/-   ##
=======================================
  Coverage   83.85%   83.85%           
=======================================
  Files         232      232           
  Lines       23938    23938           
=======================================
  Hits        20074    20074           
  Misses       3864     3864           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@bnjbvr bnjbvr left a comment

Choose a reason for hiding this comment

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

I was playing with the declaration because I figured we could have something simpler, so since I got to something nice, I pushed it. Hope that's ok! lgtm.

@pixlwave
Copy link
Member Author

pixlwave commented Feb 29, 2024

Yep yep thank you. I wasn’t sure if it was preferable to put the type in the declaration or in the collect and went back and forth a couple of times with both, so good to know 👍

@bnjbvr bnjbvr force-pushed the doug/multi-user-power-levels branch from 3588965 to fa5072e Compare February 29, 2024 14:00
@bnjbvr bnjbvr force-pushed the doug/multi-user-power-levels branch from fa5072e to 370f473 Compare February 29, 2024 14:03
@andybalaam andybalaam merged commit 4b711e4 into main Mar 4, 2024
32 checks passed
@andybalaam andybalaam deleted the doug/multi-user-power-levels branch March 4, 2024 10:10
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.

4 participants