Adding the chat-type field in the settings.

This commit is contained in:
John Livingston
2021-06-02 19:54:04 +02:00
parent 11d79fc611
commit 36146ee76c
5 changed files with 88 additions and 7 deletions

View File

@ -1,5 +1,5 @@
import { pluginShortName } from '../helpers'
import type { ChatType } from '../settings'
import type { ChatType } from '../../../shared/lib/types'
async function _migrateChatTypeSetting (options: RegisterServerOptions): Promise<void> {
const peertubeHelpers = options.peertubeHelpers