bug fix
This commit is contained in:
parent
777c8280c8
commit
b760c1388b
@ -2903,7 +2903,7 @@
|
|||||||
getRef('messages_container').append(messageBody)
|
getRef('messages_container').append(messageBody)
|
||||||
}
|
}
|
||||||
if (!chatScrollInfo['isScrolledUp']) {
|
if (!chatScrollInfo['isScrolledUp']) {
|
||||||
scrollToBottom(true)
|
scrollToBottom()
|
||||||
}
|
}
|
||||||
// remove encryption badge if it exists
|
// remove encryption badge if it exists
|
||||||
if (!groupID && floGlobals.pubKeys[activeChat.floID] && floID !== floDapps.user.id) {
|
if (!groupID && floGlobals.pubKeys[activeChat.floID] && floID !== floDapps.user.id) {
|
||||||
@ -3672,6 +3672,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
function scrollToBottom(smooth = false) {
|
function scrollToBottom(smooth = false) {
|
||||||
|
console.log('scrolling to bottom')
|
||||||
if (activeChat.floID) {
|
if (activeChat.floID) {
|
||||||
messenger.removeMark(activeChat.floID, 'unread')
|
messenger.removeMark(activeChat.floID, 'unread')
|
||||||
if (getChatCard(activeChat.floID))
|
if (getChatCard(activeChat.floID))
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user