Fix set pinned message before clearing lazyload
This commit is contained in:
parent
77ea3e2f01
commit
58ee29edbf
@ -245,6 +245,8 @@ export default class AppSharedMediaTab implements SliderTab {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
this.scroll.onScroll();
|
||||||
}
|
}
|
||||||
|
|
||||||
private onTransitionStart = () => {
|
private onTransitionStart = () => {
|
||||||
|
@ -340,7 +340,8 @@ export class AppImManager {
|
|||||||
const peerID = e.detail;
|
const peerID = e.detail;
|
||||||
|
|
||||||
if(peerID == this.peerID) {
|
if(peerID == this.peerID) {
|
||||||
(this.messagesQueuePromise || Promise.resolve()).then(() => {
|
const promise: Promise<any> = this.setPeerPromise || this.messagesQueuePromise || Promise.resolve();
|
||||||
|
promise.then(() => {
|
||||||
this.setPinnedMessage();
|
this.setPinnedMessage();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user