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

Refactor events #2234

Merged
merged 13 commits into from
Jul 16, 2024
Merged

Refactor events #2234

merged 13 commits into from
Jul 16, 2024

Conversation

zeitschlag
Copy link
Collaborator

@zeitschlag zeitschlag commented Jul 12, 2024

This PR moves Event-codes into methods in preparation for #2236 (which will also fix some leftovers from this PR). Also it continues what I started with #2231 (Refactoring event-sending).

@zeitschlag zeitschlag force-pushed the refactor-notifications branch from 824afc5 to 42474c8 Compare July 12, 2024 12:33
@zeitschlag zeitschlag changed the base branch from main to fix-retain-cycle July 12, 2024 12:33
Base automatically changed from fix-retain-cycle to main July 12, 2024 16:25
@zeitschlag zeitschlag changed the title [WIP] Refactor notifications [WIP] Refactor events Jul 16, 2024
@zeitschlag zeitschlag changed the title [WIP] Refactor events Refactor events Jul 16, 2024
@zeitschlag zeitschlag force-pushed the refactor-notifications branch from 42474c8 to 7b8e7af Compare July 16, 2024 11:53
@zeitschlag zeitschlag marked this pull request as ready for review July 16, 2024 12:00
@zeitschlag zeitschlag requested a review from r10s July 16, 2024 12:06
Copy link
Member

@r10s r10s left a comment

Choose a reason for hiding this comment

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

lgtm, and i am also running this PR already successfully so far :)

i assume, the code-blocks where mostly copy-pasted, i did not check every single line there

DcCore/DcCore/DC/events.swift Show resolved Hide resolved
@zeitschlag zeitschlag merged commit ae3ff7f into main Jul 16, 2024
1 check passed
@zeitschlag zeitschlag deleted the refactor-notifications branch July 16, 2024 14:14
@zeitschlag zeitschlag added this to the 1.46.8 milestone Aug 10, 2024
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