purged legacy chatMessage class code
This commit is contained in:
parent
0363b23cb1
commit
fac18fb26d
1 changed files with 0 additions and 10 deletions
|
@ -1,10 +0,0 @@
|
|||
package me.imsonmia.epqapi.model;
|
||||
|
||||
import me.imsonmia.epqapi.repository.UserRepository;
|
||||
|
||||
public class ChatConvert {
|
||||
private UserRepository r;
|
||||
public ChatMessage fromMessage(Message s) {
|
||||
return new ChatMessage(r.findByUserName(s.getFrom()).getId(), s.getContent());
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue