SPARK-2355: ChatViewer: migrate removeExtension()

This commit is contained in:
Sergey Ponomarev
2025-10-19 14:19:43 +03:00
committed by Guus der Kinderen
parent 3876e79b72
commit 01450c042a

View File

@ -79,7 +79,7 @@ public class ChatViewer extends JPanel {
if (delayInformation != null) {
stamp = delayInformation.getStamp();
}
message.removeExtension(delayInformation);
message.removeExtension(delayInformation.getElementName(), delayInformation.getNamespace());
chatWindow.insertMessage(from, message, ChatManager.TO_COLOR);
final Map<String, Object> properties = new HashMap<>();
properties.put("date", stamp);