Fix scrolling to end of history on history append
This commit is contained in:
parent
190f3cf1aa
commit
c32a7cea12
@ -1339,9 +1339,8 @@ export class AppMessagesManager {
|
|||||||
//if(!options.isGroupedItem) {
|
//if(!options.isGroupedItem) {
|
||||||
this.saveMessages([message], {storage, isOutgoing: true});
|
this.saveMessages([message], {storage, isOutgoing: true});
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
rootScope.broadcast('history_append', {peerId, messageId, my: true});
|
|
||||||
|
|
||||||
this.setDialogTopMessage(message);
|
this.setDialogTopMessage(message);
|
||||||
|
rootScope.broadcast('history_append', {peerId, messageId, my: true});
|
||||||
}, 0);
|
}, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user