mirror of
https://github.com/urbit/shrub.git
synced 2024-12-01 06:35:32 +03:00
Merge pull request #3533 from tylershuster/pending-message-fix
chat: fixes misses pending messages
This commit is contained in:
commit
a4636869aa
@ -238,8 +238,8 @@ export default class ChatWindow extends Component<ChatWindowProps, ChatWindowSta
|
||||
.sort((a, b) => a.when - b.when)
|
||||
.forEach((message, index) => {
|
||||
index = index + 1; // To 1-index it
|
||||
messages.set(envelopes.length + index, message);
|
||||
lastMessage = envelopes.length + index;
|
||||
messages.set(mailboxSize + index, message);
|
||||
lastMessage = mailboxSize + index;
|
||||
});
|
||||
|
||||
const messageProps = { association, group, contacts, hideAvatars, hideNicknames, remoteContentPolicy };
|
||||
|
Loading…
Reference in New Issue
Block a user