Commit 70c39db7 authored by ics's avatar ics
Browse files

add token info in chat

parent c4581e73
......@@ -30,6 +30,7 @@ import fr.ill.ics.util.ConfigManager;
*/
public class ChatEvent {
public final static String NOMAD = "nomad";
private LocalDateTime timestamp;
private String sender;
private String formattedSender;
......@@ -84,4 +85,8 @@ public class ChatEvent {
}
return formattedSender;
}
public boolean comesFromServer() {
return sender.equals(NOMAD);
}
}
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment