Skip to content

Commit

Permalink
fix: clone reward
Browse files Browse the repository at this point in the history
  • Loading branch information
Nerixyz committed Apr 1, 2024
1 parent 47c81bc commit 1d715c1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/messages/Message.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ std::shared_ptr<const Message> Message::cloneWith(
cloned->highlightColor = this->highlightColor;
cloned->replyThread = this->replyThread;
cloned->count = this->count;
cloned->reward = this->reward;
std::transform(this->elements.cbegin(), this->elements.cend(),
std::back_inserter(cloned->elements),
[](const auto &element) {
Expand Down

0 comments on commit 1d715c1

Please sign in to comment.