[Client:Desktop] Fix bug

This commit is contained in:
syuilo 2017-03-25 23:52:49 +09:00
parent 17677e00f2
commit b0c12d09e3
2 changed files with 2 additions and 2 deletions

View file

@ -1,7 +1,7 @@
{
"name": "misskey",
"author": "syuilo <i@syuilo.com>",
"version": "0.0.1479",
"version": "0.0.1480",
"license": "MIT",
"description": "A miniblog-based SNS",
"bugs": "https://github.com/syuilo/misskey/issues",

View file

@ -87,7 +87,7 @@
offset: this.offset
}).then(posts => {
const poll = posts ? posts[0] : null;
if (post == null) {
if (poll == null) {
this.offset = 0;
} else {
this.offset++;