diff --git a/src/main/java/com/lightstreamer/examples/chat_demo/adapters/ChatMetadataAdapter.java b/src/main/java/com/lightstreamer/examples/chat_demo/adapters/ChatMetadataAdapter.java index 77e5975..a8bd280 100644 --- a/src/main/java/com/lightstreamer/examples/chat_demo/adapters/ChatMetadataAdapter.java +++ b/src/main/java/com/lightstreamer/examples/chat_demo/adapters/ChatMetadataAdapter.java @@ -113,7 +113,7 @@ public CompletionStage notifyUserMessage(String user, String session, St this.loadChatFeed(); this.handleChatMessage(pieces,message,session); - return CompletableFuture.completedStage(null); + return CompletableFuture.completedFuture(null); } public void notifyNewSession(String user, String session, Map sessionInfo)