-
Notifications
You must be signed in to change notification settings - Fork 264
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
fix: perform bulk message actions #10280
base: main
Are you sure you want to change the base?
Conversation
313785b
to
f92842a
Compare
5ab79af
to
7d4f62f
Compare
foreach ($accounts as $account) { | ||
$account = new Account($account); | ||
// determine if account belongs to the user and skip if not | ||
if ($account->getUserId() != $userId) { |
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.
Good to check, but please move this down into the db when looking up accounts. Make it a WHERE id IN (xxx) AND user_id = 'sebastian'. That avoids loaded any foreign accounts.
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.
Looks good so far
Pslam complaints: will be dealt with, once the reviewed |
Merge: broke front end, reverting to draft |
Signed-off-by: SebastianKrupinski <[email protected]>
ae9a9a8
to
6e1bc18
Compare
Signed-off-by: SebastianKrupinski <[email protected]>
Signed-off-by: SebastianKrupinski <[email protected]>
@SebastianKrupinski the PR state says ready for review and the label say 2. developing. What is the status here? |
Yes, its ready to review. It was late at night after along day, when I uploaded this an forgot to change the labels |
Bulk mail message operations