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

Commit e43ef39

Browse files
committed
Fix #244
1 parent 678388d commit e43ef39

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/cqhttp/plugins/message_enhancer/message_enhancer.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,7 @@ namespace cqhttp::plugins {
214214
static MessageSegment enhance_receive_image(const MessageSegment &raw) {
215215
if (raw.data.find("url") != raw.data.end()) {
216216
// already has "url" parameter, skip it
217+
return raw;
217218
}
218219

219220
const auto file_it = raw.data.find("file");

0 commit comments

Comments
 (0)