summaryrefslogtreecommitdiffstats
path: root/ui/src/components/mail/listing/thread.rs
diff options
context:
space:
mode:
Diffstat (limited to 'ui/src/components/mail/listing/thread.rs')
-rw-r--r--ui/src/components/mail/listing/thread.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/ui/src/components/mail/listing/thread.rs b/ui/src/components/mail/listing/thread.rs
index 1679988d..2cd52d93 100644
--- a/ui/src/components/mail/listing/thread.rs
+++ b/ui/src/components/mail/listing/thread.rs
@@ -323,8 +323,8 @@ impl ThreadListing {
let mut iter = threads.threads_iter().peekable();
/* This is just a desugared for loop so that we can use .peek() */
let mut idx = 0;
- while let Some((indentation, thread_hash, has_sibling)) = iter.next() {
- let thread_node = &thread_nodes[&thread_hash];
+ while let Some((indentation, thread_node_hash, has_sibling)) = iter.next() {
+ let thread_node = &thread_nodes[&thread_node_hash];
if indentation == 0 {
thread_idx += 1;
@@ -350,7 +350,7 @@ impl ThreadListing {
&envelope,
idx,
indentation,
- thread_hash,
+ thread_node_hash,
threads,
&indentations,
has_sibling,