Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
tarkah committed Sep 16, 2024
1 parent ca022a6 commit 90872b4
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions data/src/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1042,9 +1042,7 @@ impl Client {
channel.topic.content = Some(message::parse_fragments(text.clone()));
}

channel.topic.who = message
.user()
.map(|user| user.nickname().to_string());
channel.topic.who = message.user().map(|user| user.nickname().to_string());
channel.topic.time = Some(server_time(&message));
}
}
Expand Down

0 comments on commit 90872b4

Please sign in to comment.