summaryrefslogtreecommitdiff
path: root/src/client
diff options
context:
space:
mode:
Diffstat (limited to 'src/client')
-rw-r--r--src/client/app/common/views/deck/deck.notes.vue1
-rw-r--r--src/client/app/common/views/deck/deck.user-column.home.vue2
-rw-r--r--src/client/app/desktop/views/components/notes.vue1
-rw-r--r--src/client/app/mobile/views/components/notes.vue1
-rw-r--r--src/client/assets/thumbnail-not-available.pngbin0 -> 5705 bytes
5 files changed, 4 insertions, 1 deletions
diff --git a/src/client/app/common/views/deck/deck.notes.vue b/src/client/app/common/views/deck/deck.notes.vue
index 680b44bc81..cc655b242f 100644
--- a/src/client/app/common/views/deck/deck.notes.vue
+++ b/src/client/app/common/views/deck/deck.notes.vue
@@ -166,6 +166,7 @@ export default Vue.extend({
append(note) {
this.notes.push(note);
+ this.cursor = this.notes[this.notes.length - 1].id
},
releaseQueue() {
diff --git a/src/client/app/common/views/deck/deck.user-column.home.vue b/src/client/app/common/views/deck/deck.user-column.home.vue
index 43a67db1ed..f4b9b98097 100644
--- a/src/client/app/common/views/deck/deck.user-column.home.vue
+++ b/src/client/app/common/views/deck/deck.user-column.home.vue
@@ -85,7 +85,7 @@ export default Vue.extend({
this.makePromise = cursor => this.$root.api('users/notes', {
userId: this.user.id,
limit: fetchLimit + 1,
- untilId: cursor ? cursor : undefined,
+ untilDate: cursor ? cursor : new Date().getTime() + 1000 * 86400 * 365,
withFiles: this.withFiles,
includeMyRenotes: this.$store.state.settings.showMyRenotes,
includeRenotedMyNotes: this.$store.state.settings.showRenotedMyNotes,
diff --git a/src/client/app/desktop/views/components/notes.vue b/src/client/app/desktop/views/components/notes.vue
index 87fdc749de..a3ca6fe44b 100644
--- a/src/client/app/desktop/views/components/notes.vue
+++ b/src/client/app/desktop/views/components/notes.vue
@@ -166,6 +166,7 @@ export default Vue.extend({
append(note) {
this.notes.push(note);
+ this.cursor = this.notes[this.notes.length - 1].id
},
releaseQueue() {
diff --git a/src/client/app/mobile/views/components/notes.vue b/src/client/app/mobile/views/components/notes.vue
index 5ad80c286d..a77f9a0786 100644
--- a/src/client/app/mobile/views/components/notes.vue
+++ b/src/client/app/mobile/views/components/notes.vue
@@ -160,6 +160,7 @@ export default Vue.extend({
append(note) {
this.notes.push(note);
+ this.cursor = this.notes[this.notes.length - 1].id
},
releaseQueue() {
diff --git a/src/client/assets/thumbnail-not-available.png b/src/client/assets/thumbnail-not-available.png
new file mode 100644
index 0000000000..07cad9919c
--- /dev/null
+++ b/src/client/assets/thumbnail-not-available.png
Binary files differ