Skip to content

Commit ae844dc

Browse files
committed
fix: #226, fix return
1 parent 048c5f9 commit ae844dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ plugin.savePostQueue = async (data) => {
112112

113113
plugin.saveChat = (data, callback) => {
114114
if (data.system) {
115-
return setImmediate(callback, null, data);
115+
return callback(null, data);
116116
}
117117

118118
data.quillDelta = data.content;

0 commit comments

Comments
 (0)