moving comment position to be above the if and cleaning up log copy

This commit is contained in:
Adam Brown 2021-10-14 12:25:54 +01:00
parent 00beb27b56
commit 0f07629547
1 changed files with 3 additions and 3 deletions

View File

@ -146,12 +146,12 @@ class NotificationDrawerManager @Inject constructor(private val context: Context
} else {
// Ignore an edit of a not displayed event in the notification drawer
}
} else {
if (seenEventIds.contains(notifiableEvent.eventId)) {
// we've already seen the event, lets' skip
Timber.d("onNotifiableEventReceived(): skipping event, already seen}")
} else {
// Not an edit
if (seenEventIds.contains(notifiableEvent.eventId)) {
// we've already seen the event, lets skip
Timber.d("onNotifiableEventReceived(): skipping event, already seen")
} else {
seenEventIds.put(notifiableEvent.eventId)
eventList.add(notifiableEvent)
}