|
@@ -159,7 +159,7 @@ export default class {
|
|
|
const match = /^last(|-\d+)@([^\/?#,]+)((?:,no.*?=[^,]*)*)$/.exec(idOrQuery);
|
|
|
const query = () => this.queryTimeline({
|
|
|
username: match[2],
|
|
|
- count: 0 - Number(match[1] || -1),
|
|
|
+ count: 1 - Number(match[1]),
|
|
|
noreps: {on: true, off: false}[match[3].replace(/.*,noreps=([^,]*).*/, '$1')],
|
|
|
norts: {on: true, off: false}[match[3].replace(/.*,norts=([^,]*).*/, '$1')],
|
|
|
}).then(tweets => tweets.slice(-1)[0].id_str);
|