mirror of
https://github.com/ouchadam/small-talk.git
synced 2025-02-21 06:30:55 +01:00
skipping first invite emission as we only want to render future invites
This commit is contained in:
parent
965ca92ac5
commit
4d0e2a9d99
@ -14,6 +14,7 @@ class ObserveInviteNotificationsUseCaseImpl(private val overviewStore: OverviewS
|
||||
override suspend fun invoke(): Flow<InviteNotification> {
|
||||
return overviewStore.latestInvites()
|
||||
.diff()
|
||||
.drop(1)
|
||||
.flatten()
|
||||
.map {
|
||||
val text = when (val meta = it.inviteMeta) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user