mirror of
https://github.com/danog/telegram-tt.git
synced 2025-01-21 21:01:29 +01:00
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) {
|
||||
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