Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit d1b6068

Browse files
committed
removed extra logging
1 parent d3ea501 commit d1b6068

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/components/views/room_settings/RoomEmoteSettings.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -57,19 +57,19 @@ export default class RoomEmoteSettings extends React.Component<IProps, IState> {
5757
if (!room) throw new Error(`Expected a room for ID: ${props.roomId}`);
5858

5959
let emotesEvent = room.currentState.getStateEvents("m.room.emotes", "");
60-
console.log(room.currentState);
60+
//console.log(room.currentState);
6161
let emotes: Dictionary<string>;
6262
emotes = emotesEvent ? (emotesEvent.getContent() || {}) : {};
6363
let value = {};
6464
for (let emote in emotes) {
6565
value[emote] = emote;
6666
}
6767
//TODO: Decrypt the shortcodes and emotes if they are encrypted
68-
if (emotes) {
69-
console.log(room.roomId);
70-
console.log(room.name);
71-
console.log(emotes);
72-
}
68+
// if (emotes) {
69+
// console.log(room.roomId);
70+
// console.log(room.name);
71+
// console.log(emotes);
72+
// }
7373
//if (avatarUrl) avatarUrl = mediaFromMxc(avatarUrl).getSquareThumbnailHttp(96);
7474
//emotes={}
7575
this.state = {

0 commit comments

Comments
 (0)