Chat List: Fix exception when missing greeting stickers
This commit is contained in:
parent
dbc5949957
commit
6cbec59bb9
@ -117,7 +117,11 @@ function readCache(initialState: GlobalState) {
|
|||||||
};
|
};
|
||||||
|
|
||||||
if (!cached.messages.messageLists) {
|
if (!cached.messages.messageLists) {
|
||||||
cached.messages.messageLists = [];
|
cached.messages.messageLists = initialState.messages.messageLists;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!cached.stickers.greeting) {
|
||||||
|
cached.stickers.greeting = initialState.stickers.greeting;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user