moving comment position to be above the if and cleaning up log copy
This commit is contained in:
parent
00beb27b56
commit
0f07629547
|
@ -146,12 +146,12 @@ class NotificationDrawerManager @Inject constructor(private val context: Context
|
||||||
} else {
|
} else {
|
||||||
// Ignore an edit of a not displayed event in the notification drawer
|
// 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 {
|
} else {
|
||||||
// Not an edit
|
// 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)
|
seenEventIds.put(notifiableEvent.eventId)
|
||||||
eventList.add(notifiableEvent)
|
eventList.add(notifiableEvent)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue