summaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorAleksi Hietanen <aleksi@vaadin.com>2017-04-13 17:27:52 +0300
committerIlia Motornyi <elmot@vaadin.com>2017-04-13 16:27:52 +0200
commitfa9bdbef6601f66bd2d14d07595bfa7e3e609997 (patch)
tree451df0de3a2f9abca46aac70cc1bb0d8f241d871 /server
parent6213bf1397953dc432765424e3678b04fe45aa80 (diff)
downloadvaadin-framework-fa9bdbef6601f66bd2d14d07595bfa7e3e609997.tar.gz
vaadin-framework-fa9bdbef6601f66bd2d14d07595bfa7e3e609997.zip
Always send a push identifier on UI initialization
Diffstat (limited to 'server')
-rw-r--r--server/src/main/java/com/vaadin/server/communication/UIInitHandler.java4
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("}");