Fix #87: updating chat room title when video/channel title is changed:

* renaming module list_rooms to manage_rooms
* added some API to update room info
* when a video or a channel is updated, sending an API call to update
  the room
This commit is contained in:
John Livingston
2024-03-07 16:22:14 +01:00
parent 2115b352a4
commit 4dd4f18965
10 changed files with 205 additions and 51 deletions

View File

@ -9,7 +9,7 @@ import { fetchMissingRemoteServerInfos } from '../federation/fetch-infos'
import { getConverseJSParams } from '../conversejs/params'
import { setCurrentProsody, delCurrentProsody } from '../prosody/api/host'
import { getChannelInfosById } from '../database/channel'
import { listProsodyRooms } from '../prosody/api/list-rooms'
import { listProsodyRooms } from '../prosody/api/manage-rooms'
import * as path from 'path'
const fs = require('fs').promises