Skip to content
Snippets Groups Projects
Commit 7edd420f authored by François-Simon Fauteux-Chapleau's avatar François-Simon Fauteux-Chapleau Committed by Adrien Béraud
Browse files

conversation: refactor addToHistory

The addToHistory function currently iterates over the list of commits to
add only once. This patch refactors the function so that the message
status computations are done in a separate loop from the rest of the
message handling logic. This will make it easier to fix a bug in the
message status computation in a subsequent patch.

GitLab: #1042
Change-Id: I3fceb10057292f84bc8c5e9d668fed7290ace8f2
parent 62fe7c86
Branches
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment