another huge commit but we have notifs now yay
This commit is contained in:
parent
015a3e65e1
commit
998e8f2517
17 changed files with 442 additions and 52 deletions
|
@ -219,6 +219,7 @@ export async function parsePost(data, ancestor_count) {
|
|||
let post = new Post();
|
||||
|
||||
post.text = data.content;
|
||||
post.html = data.content;
|
||||
|
||||
post.reply = null;
|
||||
if ((data.in_reply_to_id || data.reply) &&
|
||||
|
@ -278,7 +279,7 @@ export async function parseUser(data) {
|
|||
|
||||
user = new User();
|
||||
user.id = data.id;
|
||||
user.nickname = data.display_name;
|
||||
user.nickname = data.display_name.trim();
|
||||
user.username = data.username;
|
||||
user.avatar_url = data.avatar;
|
||||
user.url = data.url;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue