Fix channel added websocket message (#6546)

This commit is contained in:
Daniel Espino García 2022-08-04 19:04:06 +02:00 committed by GitHub
parent 690dd1e66e
commit a0e1f2dbd6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -286,7 +286,7 @@ export async function handleUserAddedToChannelEvent(serverUrl: string, msg: any)
const {models: prepared} = await storePostsForChannel(
serverUrl, channelId,
posts, order, previousPostId ?? '',
actionType, authors,
actionType, authors, true,
);
if (prepared?.length) {