-async function getAudience (accountSender: AccountInstance, isPublic = true) {
- const followerInboxUrls = await accountSender.getFollowerSharedInboxUrls()
+async function getAccountsInvolvedInVideoChannel (videoChannel: VideoChannelInstance, t: Transaction) {
+ const accountsToForwardView = await db.VideoChannelShare.loadAccountsByShare(videoChannel.id, t)
+ accountsToForwardView.push(videoChannel.Account)
+
+ return accountsToForwardView
+}
+
+async function getAudience (accountSender: AccountInstance, t: Transaction, isPublic = true) {
+ const followerInboxUrls = await accountSender.getFollowerSharedInboxUrls(t)