Remove unused function
parent
6cf11a15e6
commit
ca8a4a0c3f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue