Clean up optimistic messages.
This commit is contained in:
parent
3f5f4b7e4b
commit
61cecf5a70
1 changed files with 0 additions and 2 deletions
|
@ -100,13 +100,11 @@ export function ChatProvider({ children }: PropsWithChildren) {
|
|||
addMessage({
|
||||
id: OPTIMISTIC_MESSAGE_ID,
|
||||
username,
|
||||
user_id: id,
|
||||
avatar,
|
||||
text: draft,
|
||||
text_html: draft,
|
||||
time: new Date().getTime() / 1000,
|
||||
quotes: null,
|
||||
dm: false,
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue