Attachment Modal: Fix opening (#2401)
This commit is contained in:
parent
9f214afb35
commit
187af7709f
@ -331,6 +331,10 @@ function unsafeMigrateCache(cached: GlobalState, initialState: GlobalState) {
|
||||
cached.availableReactions = cached.availableReactions
|
||||
.map((r) => ({ ...r, reaction: { emoticon: r.reaction as unknown as string } }));
|
||||
}
|
||||
|
||||
if (!cached.attachmentSettings) {
|
||||
cached.attachmentSettings = initialState.attachmentSettings;
|
||||
}
|
||||
}
|
||||
|
||||
function updateCache() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user