Fixed Bug not updating MessageStatusChanges

This commit is contained in:
delvh 2020-07-16 20:34:24 +02:00
parent 176f6c6463
commit 698b57d99d
2 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@ import javafx.scene.control.ListView;
* @author Leon Hofmeister
* @since Envoy Client v0.1-beta
*/
public class ListViewRefresh {
public final class ListViewRefresh {
private ListViewRefresh() {}

View File

@ -175,7 +175,7 @@ public final class ChatScene implements Restorable {
.filter(c -> c.getRecipient().getID() == e.getID())
.findAny()
.map(Chat::getRecipient)
.ifPresent(u -> { ((User) u).setStatus(e.get()); Platform.runLater(chatList::refresh); }));
.ifPresent(u -> { ((User) u).setStatus(e.get()); Platform.runLater(() -> ListViewRefresh.deepRefresh(chatList)); }));
// Listen to contacts changes
eventBus.register(ContactOperation.class, e -> {