mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-22 12:13:48 +01:00
wip
This commit is contained in:
parent
c73517b135
commit
c498d90b1b
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user