use userId instead of username

This commit is contained in:
KDSBrowne 2017-09-19 12:01:02 -07:00
parent bd8c57eb45
commit 2e1fb712a1

View File

@ -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, {