mirror of
https://github.com/chatmail/core.git
synced 2026-04-21 15:36:30 +03:00
Too many words (#2582)
This commit is contained in:
@@ -1157,7 +1157,7 @@ impl Chat {
|
||||
}
|
||||
|
||||
// the whole list of messages referenced may be huge;
|
||||
// only use the oldest and and the parent message
|
||||
// only use the oldest and the parent message
|
||||
let parent_references = parent_references
|
||||
.find(' ')
|
||||
.and_then(|n| parent_references.get(..n))
|
||||
@@ -1313,7 +1313,7 @@ impl rusqlite::types::FromSql for ChatVisibility {
|
||||
2 => ChatVisibility::Pinned,
|
||||
1 => ChatVisibility::Archived,
|
||||
0 => ChatVisibility::Normal,
|
||||
// fallback to to Normal for unknown values, may happen eg. on imports created by a newer version.
|
||||
// fallback to Normal for unknown values, may happen eg. on imports created by a newer version.
|
||||
_ => ChatVisibility::Normal,
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user