зеркало из https://github.com/nextcloud/spreed.git
Fix minor things
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
Родитель
0a77c7497b
Коммит
70ec39eb84
|
@ -703,7 +703,7 @@ export default {
|
|||
}
|
||||
|
||||
// if we're at bottom of the chat with no more new messages to load, then simply clear the marker
|
||||
if (this.isSticky && !this.$store.getters.hasMoreMessagesToLoad()) {
|
||||
if (this.isSticky && !this.$store.getters.hasMoreMessagesToLoad(this.token)) {
|
||||
console.debug('clearLastReadMessage because of isSticky token=' + this.token)
|
||||
this.$store.dispatch('clearLastReadMessage', { token: this.token })
|
||||
return
|
||||
|
|
|
@ -115,7 +115,7 @@ const getters = {
|
|||
* Returns whether more messages can be loaded, which means that the current
|
||||
* message list doesn't yet contain all future messages.
|
||||
* If false, the next call to "lookForNewMessages" will be blocking/long-polling.
|
||||
|
||||
*
|
||||
* @param {object} state the state object.
|
||||
* @param {object} getters the getters object.
|
||||
* @returns {bool} true if more messages exist that needs loading, false otherwise
|
||||
|
|
Загрузка…
Ссылка в новой задаче