project-robius / robrix

A Matrix chat client written using the Robius app dev framework in Rust

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Remove code duplication across `populate_*_view()` functions

kevinaboos opened this issue · comments

There's a decent amount of code duplication across:

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

Originally posted by @kevinaboos in #46 (comment)