Merge branch 'support' of github.com:xwiki-labs/cryptpad into notifications
This commit is contained in:
@@ -123,6 +123,7 @@ define([
|
||||
|
||||
var onMessage = function (data) {
|
||||
// data = { type: 'type', content: {msg: 'msg', hash: 'hash'} }
|
||||
console.log(data.type, data.content);
|
||||
pushMessage(data);
|
||||
if (!history[data.type]) { history[data.type] = []; }
|
||||
history[data.type].push(data.content);
|
||||
|
||||
Reference in New Issue
Block a user