Skip to content
This repository was archived by the owner on Aug 16, 2024. It is now read-only.

Commit 6ba6cf0

Browse files
authored
Update ImageMessage.hpp (#130)
1 parent 7dcfe6a commit 6ba6cf0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

include/mirai/messages/ImageMessage.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,13 @@ namespace Cyan
1111
public:
1212
ImageMessage() {}
1313
ImageMessage(const MiraiImage& m) : imageId_(m.Id), url_(m.Url), path_(m.Path) {}
14-
ImageMessage(const ImageMessage& m) : imageId_(m.imageId_), url_(m.url_), path_(m.path_) {}
14+
ImageMessage(const ImageMessage& m) : imageId_(m.imageId_), url_(m.url_), path_(m.path_), base64_(m.base64_) {}
1515
ImageMessage(ImageMessage&& m) noexcept
1616
{
1717
std::swap(this->imageId_, m.imageId_);
1818
std::swap(this->url_, m.url_);
1919
std::swap(this->path_, m.path_);
20+
std::swap(this->base64_, m.base64_);
2021
}
2122
virtual const string& GetType() const override
2223
{

0 commit comments

Comments
 (0)