Remove duplicated getRoleDescription function (#866)

This commit is contained in:
pranavpandey1998official 2019-05-02 19:25:39 +05:30 committed by Diego Mello
parent 2f920c63e5
commit 661e9eac01
1 changed files with 0 additions and 8 deletions

View File

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