mirror of
https://github.com/vector-im/element-web.git
synced 2026-05-06 04:36:21 +02:00
cleanup console statements
This commit is contained in:
parent
7f0306f490
commit
6638f2f4ba
@ -254,7 +254,6 @@ export function determineUnreadState(
|
||||
return { symbol: null, count: 0, level: NotificationLevel.None, invited: false };
|
||||
}
|
||||
|
||||
console.log("determineUnreadState", getUnsentMessages(room, threadId));
|
||||
if (getUnsentMessages(room, threadId).length > 0) {
|
||||
return { symbol: "!", count: 1, level: NotificationLevel.Unsent, invited: false };
|
||||
}
|
||||
|
||||
@ -141,7 +141,6 @@ export class RoomNotificationState extends NotificationState implements IDestroy
|
||||
|
||||
private updateNotificationState(): void {
|
||||
const snapshot = this.snapshot();
|
||||
console.log(RoomNotifs.determineUnreadState(this.room, undefined, this.includeThreads));
|
||||
const { level, symbol, count, invited } = RoomNotifs.determineUnreadState(
|
||||
this.room,
|
||||
undefined,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user