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

Deduplicate code across functions that populate small state event views #53

Merged
merged 1 commit into from
Feb 26, 2024

Conversation

kevinaboos
Copy link
Member

Fixes #48.

This makes code simpler in the timeline drawing logic functions:

  • fn populate_redacted_message_view()
  • fn populate_membership_change_view()
  • fn populate_profile_change_view()
  • fn populate_other_state_view()

Fixes project-robius#48.

This makes code simpler in the timeline drawing logic functions:
* `fn populate_redacted_message_view()`
* `fn populate_membership_change_view()`
* `fn populate_profile_change_view()`
* `fn populate_other_state_view()`
@kevinaboos kevinaboos merged commit b79cb92 into project-robius:main Feb 26, 2024
1 check passed
@kevinaboos kevinaboos deleted the dedup_populate_view_code branch February 26, 2024 23: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.

Remove code duplication across populate_*_view() functions
1 participant