wip
This commit is contained in:
parent
51006a6815
commit
3cbb3ff81f
|
@ -249,8 +249,11 @@ module.exports = (params, user: IUser, app) => new Promise(async (res, rej) => {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// TODO
|
||||||
|
if (!channel) {
|
||||||
// Publish event to myself's stream
|
// Publish event to myself's stream
|
||||||
event(user._id, 'post', postObj);
|
event(user._id, 'post', postObj);
|
||||||
|
}
|
||||||
|
|
||||||
if (channel) {
|
if (channel) {
|
||||||
// Increment channel index(posts count)
|
// Increment channel index(posts count)
|
||||||
|
|
Loading…
Reference in New Issue