mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2025-01-25 06:41:36 -07:00
wip
This commit is contained in:
parent
c73517b135
commit
c498d90b1b
1 changed files with 5 additions and 2 deletions
|
@ -249,8 +249,11 @@ module.exports = (params, user: IUser, app) => new Promise(async (res, rej) => {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Publish event to myself's stream
|
// TODO
|
||||||
event(user._id, 'post', postObj);
|
if (!channel) {
|
||||||
|
// Publish event to myself's stream
|
||||||
|
event(user._id, 'post', postObj);
|
||||||
|
}
|
||||||
|
|
||||||
if (channel) {
|
if (channel) {
|
||||||
// Increment channel index(posts count)
|
// Increment channel index(posts count)
|
||||||
|
|
Loading…
Reference in a new issue