Skip to content

Commit 4f4a492

Browse files
authored
hot-fix for new communities' description layout
Fixes #151 .
1 parent f2a9741 commit 4f4a492

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

basicBot.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@
177177
}
178178
}
179179
var json_sett = null;
180-
var roominfo = document.getElementById('room-settings');
180+
var roominfo = _.find(require.s.contexts._.defined, (m) => m && m.attributes && 'hostID' in m.attributes).get('description');
181181
info = roominfo.textContent;
182182
var ref_bot = '@basicBot=';
183183
var ind_ref = info.indexOf(ref_bot);

0 commit comments

Comments
 (0)