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

Commit c370108

Browse files
回滚了导致发图问题的一段代码
1 parent 01cef68 commit c370108

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

include/mirai/messages/ImageMessage.hpp

+4-4
Original file line numberDiff line numberDiff line change
@@ -82,10 +82,10 @@ namespace Cyan
8282
return
8383
{
8484
{ "type", GetType() },
85-
{ "imageId", imageId_.empty()? nullptr : imageId_ },
86-
{ "url", url_.empty()? nullptr : url_ },
87-
{ "path", path_.empty()? nullptr : path_ },
88-
{ "base64", base64_.empty()? nullptr : base64_ }
85+
{ "imageId", imageId_ },
86+
{ "url", url_ },
87+
{ "path", path_ },
88+
{ "base64", base64_ }
8989
};
9090
}
9191
virtual ~ImageMessage() {}

0 commit comments

Comments
 (0)