diff --git a/app/views/RoomInfoView/index.js b/app/views/RoomInfoView/index.js index be89585bd48635f0b1a346b471e6dc1c9c80a310..2e6e0c4c8f4bcbeb096ca9e47a1701d7033052d6 100644 --- a/app/views/RoomInfoView/index.js +++ b/app/views/RoomInfoView/index.js @@ -139,14 +139,6 @@ export default class RoomInfoView extends LoggedView { </View> ); - getRoleDescription = (id) => { - const role = database.objectForPrimaryKey('roles', id); - if (role) { - return role.description; - } - return null; - } - renderRole = (role) => { const description = this.getRoleDescription(role); if (description) {