use userId instead of username
This commit is contained in:
parent
bd8c57eb45
commit
2e1fb712a1
@ -10,7 +10,7 @@ export default function publicHistoryClear({ header }, meetingId) {
|
||||
const SYSTEM_CHAT_TYPE = CHAT_CONFIG.type_system;
|
||||
|
||||
if (meetingId) {
|
||||
Chat.remove({ meetingId, toUsername: PUBLIC_CHAT_USERNAME },
|
||||
Chat.remove({ meetingId, toUserId: PUBLIC_CHAT_USERID },
|
||||
Logger.info(`Cleared Chats (${meetingId})`));
|
||||
|
||||
addChat(meetingId, {
|
||||
|
Loading…
Reference in New Issue
Block a user