You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-10 09:22:25 +03:00
Reduce logging.
This commit is contained in:
@@ -93,7 +93,6 @@ export default class Stickerpack extends React.Component {
|
|||||||
|
|
||||||
_onWidgetAction(payload) {
|
_onWidgetAction(payload) {
|
||||||
if (payload.action === "user_widget_updated") {
|
if (payload.action === "user_widget_updated") {
|
||||||
console.warn("user widget updated");
|
|
||||||
this._getStickerPickerWidget();
|
this._getStickerPickerWidget();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@@ -103,7 +102,6 @@ export default class Stickerpack extends React.Component {
|
|||||||
// Stickers
|
// Stickers
|
||||||
// TODO - Add support for stickerpacks from multiple app stores.
|
// TODO - Add support for stickerpacks from multiple app stores.
|
||||||
// Render content from multiple stickerpack sources, each within their own iframe, within the stickerpack UI element.
|
// Render content from multiple stickerpack sources, each within their own iframe, within the stickerpack UI element.
|
||||||
console.warn("Checking for sticker picker widgets");
|
|
||||||
const stickerpackWidget = Widgets.getStickerpackWidgets()[0];
|
const stickerpackWidget = Widgets.getStickerpackWidgets()[0];
|
||||||
let stickersContent;
|
let stickersContent;
|
||||||
|
|
||||||
@@ -111,7 +109,6 @@ export default class Stickerpack extends React.Component {
|
|||||||
if (stickerpackWidget && stickerpackWidget.content && stickerpackWidget.content.url) {
|
if (stickerpackWidget && stickerpackWidget.content && stickerpackWidget.content.url) {
|
||||||
// Set default name
|
// Set default name
|
||||||
stickerpackWidget.content.name = stickerpackWidget.name || "Stickerpack";
|
stickerpackWidget.content.name = stickerpackWidget.name || "Stickerpack";
|
||||||
console.warn('Stickerpack widget', stickerpackWidget);
|
|
||||||
this.widgetId = stickerpackWidget.id;
|
this.widgetId = stickerpackWidget.id;
|
||||||
|
|
||||||
stickersContent = (
|
stickersContent = (
|
||||||
@@ -205,7 +202,6 @@ export default class Stickerpack extends React.Component {
|
|||||||
*/
|
*/
|
||||||
onFinished() {
|
onFinished() {
|
||||||
this.setState({showStickers: false});
|
this.setState({showStickers: false});
|
||||||
console.warn("finshed");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user