Remove team unreads and rely on channel member instead (#5710)

This commit is contained in:
Elias Nahum
2021-10-01 16:07:57 -03:00
committed by GitHub
parent e2ecf2f0f7
commit 2f8160d360
18 changed files with 23 additions and 77 deletions

View File

@@ -18,12 +18,6 @@ export default class MyTeamModel extends Model {
/** table (name) : MyTeam */
static table = MY_TEAM;
/** is_unread : Boolean flag for unread messages on team level */
@field('is_unread') isUnread!: boolean;
/** mentions_count : Count of posts in which the user has been mentioned */
@field('mentions_count') mentionsCount!: number;
/** roles : The different permissions that this user has in the team, concatenated together with comma to form a single string. */
@field('roles') roles!: string;