Fixed Bug not updating MessageStatusChanges
This commit is contained in:
parent
176f6c6463
commit
698b57d99d
@ -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() {}
|
||||
|
||||
|
@ -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 -> {
|
||||
|
Reference in New Issue
Block a user