forked from MapComplete/MastodonBot
Include bullet in length calculation
This commit is contained in:
parent
750c76c80e
commit
5df7246db6
1 changed files with 4 additions and 4 deletions
|
@ -289,7 +289,7 @@ export class Postbuilder {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
const overview = await this.createOverviewForContributor(uid, changesetsMade)
|
const overview = await this.createOverviewForContributor(uid, changesetsMade)
|
||||||
if (overview.length + toSend.join("\n").length > 500) {
|
if (("- " + overview).length + toSend.join("\n").length > 500) {
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
toSend.push("- " + overview)
|
toSend.push("- " + overview)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue