Restrict sending messages in a pad chat to editors only
This commit is contained in:
@@ -995,6 +995,9 @@ define([
|
||||
var conf = {
|
||||
onReady: function (padData) {
|
||||
channel.data = padData || {};
|
||||
if (padData && padData.validateKey && store.messenger) {
|
||||
store.messenger.storeValidateKey(data.channel, padData.validateKey);
|
||||
}
|
||||
postMessage(clientId, "PAD_READY");
|
||||
},
|
||||
onMessage: function (user, m, validateKey, isCp) {
|
||||
|
||||
Reference in New Issue
Block a user