-async function createVideoChannel (videoChannelInfo: VideoChannelCreate, account: AccountModel, t: Sequelize.Transaction) {
- const uuid = uuidv4()
- const url = getVideoChannelActivityPubUrl(videoChannelInfo.name)
- const actorInstance = buildActorInstance('Group', url, videoChannelInfo.name, uuid)
+async function createLocalVideoChannel (videoChannelInfo: VideoChannelCreate, account: MAccountId, t: Sequelize.Transaction) {
+ const url = getLocalVideoChannelActivityPubUrl(videoChannelInfo.name)
+ const actorInstance = buildActorInstance('Group', url, videoChannelInfo.name)