[Gekidou] Handle post related websocket events (#5851)

* Handle post related websocket events

* Address feedback and several fixes

* Fix lint

* Address feedback

* LastPostAt as latest post create_at, and lastViewedAt as date.now()

* Address feedback

* Change database for operator and add type imports
This commit is contained in:
Daniel Espino García
2022-01-24 12:43:21 +01:00
committed by GitHub
parent d5228633b2
commit 1e355ee684
21 changed files with 422 additions and 72 deletions

View File

@@ -64,7 +64,6 @@ type Post = {
failed?: boolean;
user_activity_posts?: Post[];
state?: 'DELETED';
ownPost?: boolean;
prev_post_id?: string;
participants: null|string[];
};