Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enabled stickers don't show up #9710

Closed
agherzan opened this issue May 14, 2019 · 2 comments
Closed

Enabled stickers don't show up #9710

agherzan opened this issue May 14, 2019 · 2 comments
Labels
T-Defect T-Other Questions, user support, anything else X-Needs-Community-Testing

Comments

@agherzan
Copy link

agherzan commented May 14, 2019

Description

I have a local installation of riot web in a docker container. I face an issue where even if I enable a sticker pack, they still don't show up in the sticker menu which returns "You don't currently have any stickerpacks enabled" no matter what.

Steps to reproduce

  • enable sticker pack
  • add a sticker in a room

Logs:

Error requesting new widget instance 
XMLHttpRequest { seq_id: 7, id: "7: POST https://scalar.vector.im/api/widgets/request?scalar_token=5d10333e3352bf0ecd8277c1f46aa3e446f0c19b&v=1.1", _id: "7: POST https://scalar.vector.im/api/widgets/request?scalar_token=5d10333e3352bf0ecd8277c1f46aa3e446f0c19b&v=1.1", timeoutTimer: 10, statusCode: 409, body: {…}, onreadystatechange: r(), readyState: 4, timeout: 0, withCredentials: false }
ScalarClient.js:111:16
    value ScalarClient.js:111
    o util.js:16
    _settlePromiseFromHandler promise.js:512
    _settlePromise promise.js:569
    _settlePromise0 promise.js:614
    _settlePromises promise.js:694
    _fulfill promise.js:638
    i nodeback.js:42
    u index.js:294
    r index.js:244

Widget already exists 
XMLHttpRequest
​_id: "7: POST https://scalar.vector.im/api/widgets/request?scalar_token=5d10333e3352bf0ecd8277c1f46aa3e446f0c19b&v=1.1"
​body: Object { message: "User has already added this widget type", data: {…} }
​id: "7: POST https://scalar.vector.im/api/widgets/request?scalar_token=5d10333e3352bf0ecd8277c1f46aa3e446f0c19b&v=1.1"
​mozAnon: false
​mozSystem: false
​onabort: null
​onerror: null
​onload: null
​onloadend: null
​onloadstart: null
​onprogress: null
​onreadystatechange: function r()
​ontimeout: null
​readyState: 4
​response: "{\"message\":\"User has already added this widget type\",\"data\":{\"wurl\":\"https://scalar.vector.im/api/widgets/id/4b19182b-e8d7-46be-a48c-0b693c7e5c04/stickers.html\",\"id\":\"4b19182b-e8d7-46be-a48c-0b693c7e5c04\"}}"
​
responseText: "{\"message\":\"User has already added this widget type\",\"data\":{\"wurl\":\"https://scalar.vector.im/api/widgets/id/4b19182b-e8d7-46be-a48c-0b693c7e5c04/stickers.html\",\"id\":\"4b19182b-e8d7-46be-a48c-0b693c7e5c04\"}}"
​
responseType: ""
​responseURL: "https://scalar.vector.im/api/widgets/request?scalar_token=5d10333e3352bf0ecd8277c1f46aa3e446f0c19b&v=1.1"
​responseXML: null
​seq_id: 7
​status: 409
​statusCode: 409
​statusText: "Conflict"
​timeout: 0
​
timeoutTimer: 10
​
upload: XMLHttpRequestUpload { onloadstart: null, onprogress: null, onabort: null, … }
​
withCredentials: false
​
<prototype>: XMLHttpRequestPrototype { open: open(), setRequestHeader: setRequestHeader(), send: send(), … }
PurchaseAssetButton.js:96:20

Version information

  • Platform: web (in-browser)
  • Browser: Firefox 66.0.5 (64-bit)
  • OS: Arch Linux
  • URL: Priavate server, riot-web 1.1.0
@lampholder
Copy link
Member

How do your integrations_ui_url, integrations_rest_url and integrations_widgets_urls settings compare with https://riot.im/app/config.json ?

@lampholder lampholder added the T-Other Questions, user support, anything else label May 16, 2019
@agherzan
Copy link
Author

agherzan commented May 16, 2019

Yes. I found the issue. Somehow it messes with this if you login to matrix.org, logout and login to an onprem instance. Clear cache fixed this on android and also in Firefox. It should be easy to reproduce.

su-ex added a commit to SchildiChat/element-web that referenced this issue Jan 15, 2023
* Add inline code formatting to rich text editor ([\element-hq#9720](matrix-org/matrix-react-sdk#9720)).
* Add emoji handling for plain text mode of the new rich text editor ([\element-hq#9727](matrix-org/matrix-react-sdk#9727)).
* Overlay virtual room call events into main timeline ([\element-hq#9626](matrix-org/matrix-react-sdk#9626)). Fixes element-hq#22929.
* Adds a new section under "Room Settings" > "Roles & Permissions" which adds the possibility to multiselect users from this room and grant them more permissions. ([\element-hq#9596](matrix-org/matrix-react-sdk#9596)). Contributed by @GoodGuyMarco.
* Add emoji handling for rich text mode ([\element-hq#9661](matrix-org/matrix-react-sdk#9661)).
* Add setting to hide bold notifications ([\element-hq#9705](matrix-org/matrix-react-sdk#9705)).
* Further password reset flow enhancements ([\element-hq#9662](matrix-org/matrix-react-sdk#9662)).
* Snooze the bulk unverified sessions reminder on dismiss ([\element-hq#9706](matrix-org/matrix-react-sdk#9706)).
* Honor advanced audio processing settings when recording voice messages ([\element-hq#9610](matrix-org/matrix-react-sdk#9610)). Contributed by @MrAnno.
* Improve the visual balance of bubble layout ([\element-hq#9704](matrix-org/matrix-react-sdk#9704)).
* Add config setting to disable bulk unverified sessions nag ([\element-hq#9657](matrix-org/matrix-react-sdk#9657)).
* Only display bulk unverified sessions nag when current sessions is verified ([\element-hq#9656](matrix-org/matrix-react-sdk#9656)).
* Separate labs and betas more clearly ([\element-hq#8969](matrix-org/matrix-react-sdk#8969)). Fixes element-hq#22706.
* Show user an error if we fail to create a DM for verification. ([\element-hq#9624](matrix-org/matrix-react-sdk#9624)).
* Prevent unnecessary m.direct updates ([\element-hq#9805](matrix-org/matrix-react-sdk#9805)). Fixes element-hq#24059.
* Fix checkForPreJoinUISI for thread roots ([\element-hq#9803](matrix-org/matrix-react-sdk#9803)). Fixes element-hq#24054.
* Load RTE components only when RTE labs is enabled ([\element-hq#9804](matrix-org/matrix-react-sdk#9804)).
* Fix issue where thread panel did not update correctly ([\element-hq#9746](matrix-org/matrix-react-sdk#9746)). Fixes element-hq#23971.
* Remove async call to get virtual room from room load ([\element-hq#9743](matrix-org/matrix-react-sdk#9743)). Fixes element-hq#23968.
* Check each thread for unread messages. ([\element-hq#9723](matrix-org/matrix-react-sdk#9723)).
* Device manage - handle sessions that don't support encryption ([\element-hq#9717](matrix-org/matrix-react-sdk#9717)). Fixes element-hq#23722.
* Fix hover state for formatting buttons (Rich text editor) (fix element-hq/issues/23832) ([\element-hq#9715](matrix-org/matrix-react-sdk#9715)).
* Don't allow group calls to be unterminated ([\element-hq#9710](matrix-org/matrix-react-sdk#9710)).
* Fix replies to emotes not showing as inline ([\element-hq#9707](matrix-org/matrix-react-sdk#9707)). Fixes element-hq#23903.
* Update copy of 'Change layout' button to match Element Call ([\element-hq#9703](matrix-org/matrix-react-sdk#9703)).
* Fix call splitbrains when switching between rooms ([\element-hq#9692](matrix-org/matrix-react-sdk#9692)).
* bugfix: fix an issue where the Notifier would incorrectly fire for non-timeline events ([\element-hq#9664](matrix-org/matrix-react-sdk#9664)). Fixes element-hq#17263.
* Fix power selector being wrongly disabled for admins themselves ([\element-hq#9681](matrix-org/matrix-react-sdk#9681)). Fixes element-hq#23882.
* Show day counts in call durations ([\element-hq#9641](matrix-org/matrix-react-sdk#9641)).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T-Defect T-Other Questions, user support, anything else X-Needs-Community-Testing
Projects
None yet
Development

No branches or pull requests

3 participants