From fa1e296f77f4c2ae6bd0e0e7162092c0dbdc4be5 Mon Sep 17 00:00:00 2001 From: Max Date: Sat, 4 May 2013 17:07:06 +0300 Subject: [PATCH] Load messages once after disconnecting from nodePush. --- file/js/be.bastelstu.Chat.litcoffee | 1 + 1 file changed, 1 insertion(+) diff --git a/file/js/be.bastelstu.Chat.litcoffee b/file/js/be.bastelstu.Chat.litcoffee index 2e99bf6..8099939 100644 --- a/file/js/be.bastelstu.Chat.litcoffee +++ b/file/js/be.bastelstu.Chat.litcoffee @@ -561,6 +561,7 @@ Disable `@pe.getMessages` once we are connected. be.bastelstu.wcf.nodePush.onDisconnect => console.log 'Enabling periodic loading' + @getMessages() Reenable `@pe.getMessages` once we are disconnected.