mirror of https://github.com/calzoneman/sync.git
Fix announcements for SSL sockets
This commit is contained in:
parent
b3f4fc2b52
commit
87ee45165d
|
@ -1,3 +1,7 @@
|
|||
Tue Sep 24 13:45 2013 CDT
|
||||
* lib/acp.js: Emit announcements to SSL sockets in addition to regular
|
||||
ones.
|
||||
|
||||
Tue Sep 24 13:15 2013 CDT
|
||||
* www/assets/js/callbacks.js: Instantiate a new paginator for every
|
||||
search result- prevents buttons being incorrectly added or omitted.
|
||||
|
|
|
@ -21,6 +21,8 @@ module.exports = function (Server) {
|
|||
ActionLog.record(user.ip, user.name, "acp-announce", data);
|
||||
Server.announcement = data;
|
||||
Server.io.sockets.emit("announcement", data);
|
||||
if (Server.cfg["enable-ssl"])
|
||||
Server.sslio.sockets.emit("announcement", data);
|
||||
});
|
||||
|
||||
user.socket.on("acp-announce-clear", function() {
|
||||
|
|
Loading…
Reference in New Issue