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

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