Skip to content

Commit 8fc8780

Browse files
committed
修复: 语录插件相关错误
Signed-off-by: hd <hdshare@vip.qq.com>
1 parent 4b35fbe commit 8fc8780

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

plugins/hd/msg-q/msg-q.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,7 @@ void onHandleMsg(Object msgInfoBean) {
8282
if (parts.length > 1) {
8383
quoteMsgContent = parts[1];
8484
} else {
85-
String quoteMsgType = msgInfoBean.getQuoteMsg().getType();
86-
quoteMsgContent = quoteMsgType.equals("1") ? msgInfoBean.getQuoteMsg().getContent() : "暂不支持的引用类型";
85+
quoteMsgContent = msgInfoBean.getQuoteMsg().getContent();
8786
}
8887

8988
if (!quoteMsgAvatarUrl.equals("")) {

0 commit comments

Comments
 (0)