scope recording create notifications to room owner only

This commit is contained in:
Zachary Chai 2017-03-02 09:22:51 -05:00
parent 71505a18d2
commit 94d77249b5
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@
showAlert(I18n.recording_deleted, 4000);
} else if (data.action === 'create') {
if (row.length == 0) {
if (isRoomOwner() && row.length == 0) {
recordings.refresh();
showAlert(I18n.recording_created, 4000);
}