Merge branch 'fix/a-poll-shows-when-the-group-opens' into 'main'
A poll shows the moment the group opens See merge request paulhitt/flamenet-messenger-android!139
This commit was merged in pull request #166.
This commit is contained in:
@@ -894,6 +894,13 @@ class MessengerViewModel(
|
||||
current.history(thread),
|
||||
group = group,
|
||||
pinnedMessageId = current.pinnedMessage(thread),
|
||||
// Read here, not left to the next poll tick. A poll
|
||||
// waiting on your vote is the reason you opened the
|
||||
// group, and it was blank for the first few seconds.
|
||||
polls =
|
||||
current.conversations.polls
|
||||
.pollsIn(group.id)
|
||||
.sortedBy { p -> p.id },
|
||||
),
|
||||
unread = it.unread - thread,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user