Remove unused function

pull/21833/head
David Baker 2018-06-26 12:08:33 +01:00
parent 6cf11a15e6
commit ca8a4a0c3f
1 changed files with 0 additions and 11 deletions

View File

@ -254,17 +254,6 @@ export default class WidgetUtils {
});
}
/**
* Get all widgets (user and room) for the current user
* @param {object} room The room to get widgets for
* @return {[object]} Array containing current / active room and user widget state events
*/
static getWidgets(room) {
const widgets = getRoomWidgets(room);
widgets.concat(getUserWidgetsArray());
return widgets;
}
/**
* Get room specific widgets
* @param {object} room The room to get widgets force