mirror of
https://github.com/LamGC/ContentGrabbingJi.git
synced 2025-04-30 06:37:36 +00:00
[Change] MessageEvent 对消息内容删除首尾空格以提高用户体验性;
This commit is contained in:
parent
66b22c543a
commit
cb2ebfdb73
@ -12,7 +12,7 @@ public abstract class MessageEvent implements EventObject, MessageSender {
|
|||||||
public MessageEvent(long fromGroup, long fromQQ, String message) {
|
public MessageEvent(long fromGroup, long fromQQ, String message) {
|
||||||
this.fromGroup = fromGroup;
|
this.fromGroup = fromGroup;
|
||||||
this.fromQQ = fromQQ;
|
this.fromQQ = fromQQ;
|
||||||
this.message = message;
|
this.message = message.trim();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user