Skip to content

Conversation

@CompuGeniusCode
Copy link
Contributor

Summary

This fixes a bug where if a page is viewed more than once, the image wouldn't be displayed except the first time.

Information

  • This PR fixes an issue.
  • This PR adds something new (e.g. new method or parameters).
  • This PR is a breaking change (e.g. methods or parameters removed/renamed).
  • This PR is not a code change (e.g. documentation, README, typehinting,
    examples, ...).

Checklist

  • I have searched the open pull requests for duplicates.
  • If code changes were made then they have been tested.
    • I have updated the documentation to reflect the changes.
  • If type: ignore comments were used, a comment is also left explaining why.

This fixes a bug where if a page is viewed more than once, the image wouldn't be displayed except the first time.

Signed-off-by: Yaakov Schlachter <contact@cgprograms.com>
Signed-off-by: Yaakov Schlachter <contact@cgprograms.com>
@CompuGeniusCode CompuGeniusCode requested a review from a team as a code owner January 17, 2023 17:57
@Lulalaby
Copy link
Member

Lulalaby commented Jan 17, 2023

Please stick to to the commit conventions

CompuGeniusCode and others added 2 commits January 17, 2023 20:01
Signed-off-by: Yaakov Schlachter <contact@cgprograms.com>
@CompuGeniusCode CompuGeniusCode changed the title Fixed images sending as 0 bytes in paginator fix: images sending as 0 bytes in paginator Jan 17, 2023
@CompuGeniusCode
Copy link
Contributor Author

Please stick to to the commit conventions

I apologize, fixed the PR title. Unfortunately, can't change the commit titles of the individual commits.

@Lulalaby
Copy link
Member

Please stick to to the commit conventions

I apologize, fixed the PR title. Unfortunately, can't change the commit titles of the individual commits.

That's fine, we squash per default, just the pr title is important

@Lulalaby Lulalaby enabled auto-merge (squash) January 17, 2023 18:13
auto-merge was automatically disabled January 17, 2023 18:15

Head branch was pushed to by a user without write access

Co-authored-by: Lala Sabathil <aiko@aitsys.dev>
Signed-off-by: Yaakov Schlachter <contact@cgprograms.com>
@Lulalaby Lulalaby requested a review from plun1331 January 17, 2023 18:20
@Lulalaby Lulalaby enabled auto-merge (squash) January 17, 2023 18:21
@Lulalaby Lulalaby disabled auto-merge January 17, 2023 18:23
@CompuGeniusCode CompuGeniusCode changed the title fix: images sending as 0 bytes in paginator fix: images sending as 0 bytes in paginator if sent as io.BytesIO Jan 17, 2023
@CompuGeniusCode
Copy link
Contributor Author

Currently working with @BobDotCom to actually get the best fix possible across the whole framework, instead of a local fix to this function. My code will be deprecated then.

plun1331
plun1331 previously approved these changes Jan 17, 2023
@Lulalaby
Copy link
Member

does this works now @BobDotCom

@BobDotCom
Copy link
Contributor

does this works now @BobDotCom

Apart from my suggested change, this has been tested and should be ready.

CompuGeniusCode and others added 2 commits January 17, 2023 23:26
Co-authored-by: plun1331 <49261529+plun1331@users.noreply.github.com>
Signed-off-by: Yaakov Schlachter <contact@cgprograms.com>
Signed-off-by: BobDotCom <71356958+BobDotCom@users.noreply.github.com>
@Lulalaby Lulalaby enabled auto-merge (squash) January 18, 2023 17:22
@Lulalaby Lulalaby merged commit 3941b31 into Pycord-Development:master Jan 18, 2023
@CompuGeniusCode CompuGeniusCode deleted the patch-1 branch January 19, 2023 18:55
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