mirror of
https://github.com/vector-im/element-web.git
synced 2025-11-02 09:11:47 +01:00
Merge pull request #3510 from matrix-org/dbkr/set_im_update
Fix integration manager not updating when set
This commit is contained in:
commit
359d2fee5f
@ -233,7 +233,9 @@ export default class WidgetUtils {
|
||||
};
|
||||
|
||||
const client = MatrixClientPeg.get();
|
||||
const userWidgets = WidgetUtils.getUserWidgets();
|
||||
// Get the current widgets and clone them before we modify them, otherwise
|
||||
// we'll modify the content of the old event.
|
||||
const userWidgets = JSON.parse(JSON.stringify(WidgetUtils.getUserWidgets()));
|
||||
|
||||
// Delete existing widget with ID
|
||||
try {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user