skipping first invite emission as we only want to render future invites
This commit is contained in:
parent
c8eaeff48f
commit
e5eb597369
|
@ -14,6 +14,7 @@ class ObserveInviteNotificationsUseCaseImpl(private val overviewStore: OverviewS
|
||||||
override suspend fun invoke(): Flow<InviteNotification> {
|
override suspend fun invoke(): Flow<InviteNotification> {
|
||||||
return overviewStore.latestInvites()
|
return overviewStore.latestInvites()
|
||||||
.diff()
|
.diff()
|
||||||
|
.drop(1)
|
||||||
.flatten()
|
.flatten()
|
||||||
.map {
|
.map {
|
||||||
val text = when (val meta = it.inviteMeta) {
|
val text = when (val meta = it.inviteMeta) {
|
||||||
|
|
Loading…
Reference in New Issue