diff options
author | Aleksi Hietanen <aleksi@vaadin.com> | 2017-04-13 17:27:52 +0300 |
---|---|---|
committer | Ilia Motornyi <elmot@vaadin.com> | 2017-04-13 16:27:52 +0200 |
commit | fa9bdbef6601f66bd2d14d07595bfa7e3e609997 (patch) | |
tree | 451df0de3a2f9abca46aac70cc1bb0d8f241d871 | |
parent | 6213bf1397953dc432765424e3678b04fe45aa80 (diff) | |
download | vaadin-framework-fa9bdbef6601f66bd2d14d07595bfa7e3e609997.tar.gz vaadin-framework-fa9bdbef6601f66bd2d14d07595bfa7e3e609997.zip |
Always send a push identifier on UI initialization
-rw-r--r-- | server/src/main/java/com/vaadin/server/communication/UIInitHandler.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/server/src/main/java/com/vaadin/server/communication/UIInitHandler.java b/server/src/main/java/com/vaadin/server/communication/UIInitHandler.java index f08f5fc45e..02b0637af8 100644 --- a/server/src/main/java/com/vaadin/server/communication/UIInitHandler.java +++ b/server/src/main/java/com/vaadin/server/communication/UIInitHandler.java @@ -287,9 +287,7 @@ public abstract class UIInitHandler extends SynchronizedRequestHandler { if (session.getConfiguration().isXsrfProtectionEnabled()) { writer.write(getSecurityKeyUIDL(session)); } - if (uI.getPushConfiguration().getPushMode().isEnabled()) { - writer.write(getPushIdUIDL(session)); - } + writer.write(getPushIdUIDL(session)); new UidlWriter().write(uI, writer, false); writer.write("}"); |