1
0
Fork 0
mirror of https://github.com/paricafe/misskey.git synced 2025-03-29 20:29:28 -05:00
This commit is contained in:
syuilo 2017-11-01 13:39:05 +09:00
parent 51006a6815
commit 3cbb3ff81f

View file

@ -249,8 +249,11 @@ module.exports = (params, user: IUser, app) => new Promise(async (res, rej) => {
}
}
// Publish event to myself's stream
event(user._id, 'post', postObj);
// TODO
if (!channel) {
// Publish event to myself's stream
event(user._id, 'post', postObj);
}
if (channel) {
// Increment channel index(posts count)