|
|
|
@ -120,8 +120,7 @@ var winston = require('winston'),
|
|
|
|
|
plugins.fireHook('action:topic.lock', {
|
|
|
|
|
tid: tid,
|
|
|
|
|
isLocked: lock,
|
|
|
|
|
uid: uid,
|
|
|
|
|
timestamp: Date.now()
|
|
|
|
|
uid: uid
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
emitTo('topic_' + tid);
|
|
|
|
@ -165,8 +164,7 @@ var winston = require('winston'),
|
|
|
|
|
plugins.fireHook('action:topic.pin', {
|
|
|
|
|
tid: tid,
|
|
|
|
|
isPinned: pin,
|
|
|
|
|
uid: uid,
|
|
|
|
|
timestamp: Date.now()
|
|
|
|
|
uid: uid
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
emitTo('topic_' + tid);
|
|
|
|
@ -214,8 +212,7 @@ var winston = require('winston'),
|
|
|
|
|
tid: tid,
|
|
|
|
|
fromCid: oldCid,
|
|
|
|
|
toCid: cid,
|
|
|
|
|
uid: uid,
|
|
|
|
|
timestamp: Date.now()
|
|
|
|
|
uid: uid
|
|
|
|
|
});
|
|
|
|
|
});
|
|
|
|
|
};
|
|
|
|
|