mirror of
https://github.com/LamGC/ContentGrabbingJi.git
synced 2025-07-01 04:47:26 +00:00
[Change] MessageEvent 对消息内容删除首尾空格以提高用户体验性;
This commit is contained in:
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user