Commit 2df687bd by Sixong.Zhu

update cache control

parent 470a0f49
Showing with 4 additions and 4 deletions
......@@ -14,10 +14,10 @@ class ChatCacheDatabaseController {
private readonly chatMessageKey = "chat-message";
public setup(uid: string) {
const qqxb = window.navigator.userAgent.toLowerCase().includes('qqxb');
if (qqxb) {
return Promise.resolve();
}
// const qqxb = window.navigator.userAgent.toLowerCase().includes('qqxb');
// if (qqxb) {
// return Promise.resolve();
// }
return new Promise<void>((resolve) => {
if (uid && indexedDB) {
const r = indexedDB.open(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment