purged legacy chatMessage class code

This commit is contained in:
Zhongheng Liu 2024-01-02 17:23:04 +02:00
commit fac18fb26d
No known key found for this signature in database

View file

@ -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());
}
}