diff --git a/js/websockets.js b/js/websockets.js index 9777a78..8a8ce48 100644 --- a/js/websockets.js +++ b/js/websockets.js @@ -224,7 +224,7 @@ weechat.factory('connection', ['$q', '$rootScope', '$log', '$store', 'handlers', var cbId = getCurrentCallBackId(); callbacks[cbId] = { - time: new Date, + time: new Date(), cb: defer, };