|
@@ -72,11 +72,13 @@ export class WriteTweetPage {
|
|
}
|
|
}
|
|
|
|
|
|
private async buildPrivateTweet() {
|
|
private async buildPrivateTweet() {
|
|
|
|
+ const status = this.tweet.value["text"].trim();
|
|
return {
|
|
return {
|
|
- full_text: this.tweet.value["text"].trim(),
|
|
|
|
|
|
+ full_text: status,
|
|
user_id: await this.storage.get("userId"),
|
|
user_id: await this.storage.get("userId"),
|
|
created_at: Date.now(),
|
|
created_at: Date.now(),
|
|
private_tweet: true,
|
|
private_tweet: true,
|
|
|
|
+ display_text_range: [0, status.length],
|
|
entities: {}
|
|
entities: {}
|
|
};
|
|
};
|
|
}
|
|
}
|