Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
umayr committed Oct 2, 2019
1 parent 7fdd8aa commit e2bc45d
Show file tree
Hide file tree
Showing 2 changed files with 2,440 additions and 2,438 deletions.
14 changes: 8 additions & 6 deletions src/conversation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -210,12 +210,14 @@ impl Conversation {
continue;
}

let message =
match Message::from_str(&capture["datetime"], &capture["author"], &capture["text"].trim())
{
Ok(message) => message,
Err(e) => return Err(e),
};
let message = match Message::from_str(
&capture["datetime"],
&capture["author"],
&capture["text"].trim(),
) {
Ok(message) => message,
Err(e) => return Err(e),
};
if !participants.contains(&message.author) {
participants.push(message.author.clone());
}
Expand Down
Loading

0 comments on commit e2bc45d

Please sign in to comment.