Skip to content

Commit c28dabb

Browse files
committed
fix: Fix crash when receiving a verification-gossiping message
1 parent 7f3648f commit c28dabb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/receive_imf.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3642,7 +3642,7 @@ async fn mark_recipients_as_verified(
36423642
return Ok(());
36433643
}
36443644
for to_id in to_ids.iter().filter_map(|&x| x) {
3645-
if to_id == ContactId::SELF {
3645+
if to_id == ContactId::SELF || to_id == from_id {
36463646
continue;
36473647
}
36483648

0 commit comments

Comments
 (0)