Fix message and chat owner bug

This commit is contained in:
Yang Luo
2023-05-10 22:13:36 +08:00
parent 7df043fb15
commit 3c871c38df
4 changed files with 22 additions and 8 deletions

View File

@ -33,7 +33,7 @@ class ChatPage extends BaseListPage {
newChat(chat) {
const randomName = Setting.getRandomName();
return {
owner: this.props.account.owner, // this.props.account.applicationName,
owner: "admin", // this.props.account.applicationName,
name: `chat_${randomName}`,
createdTime: moment().format(),
updatedTime: moment().format(),