fix usercallbackevent gives wrong user bug
This commit is contained in:
parent
1e7b3f4794
commit
e0f531004f
2
pom.xml
2
pom.xml
|
@ -39,7 +39,7 @@
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.json</groupId>
|
<groupId>org.json</groupId>
|
||||||
<artifactId>json</artifactId>
|
<artifactId>json</artifactId>
|
||||||
<version>20190722</version>
|
<version>20201115</version>
|
||||||
<scope>compile</scope>
|
<scope>compile</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
|
|
|
@ -13,9 +13,12 @@ public class UserCallbackEvent extends MessageEvent {
|
||||||
private final String data;
|
private final String data;
|
||||||
@Getter
|
@Getter
|
||||||
private final String ID;
|
private final String ID;
|
||||||
|
@Getter
|
||||||
|
private final TUser user;
|
||||||
|
|
||||||
public UserCallbackEvent(TUser u, String data, String id, TMessage msg) {
|
public UserCallbackEvent(TUser u, String data, String id, TMessage msg) {
|
||||||
super(msg);
|
super(msg);
|
||||||
|
user = u;
|
||||||
this.data = data;
|
this.data = data;
|
||||||
this.ID = id;
|
this.ID = id;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue