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({
|
addMessage({
|
||||||
id: OPTIMISTIC_MESSAGE_ID,
|
id: OPTIMISTIC_MESSAGE_ID,
|
||||||
username,
|
username,
|
||||||
user_id: id,
|
|
||||||
avatar,
|
avatar,
|
||||||
text: draft,
|
text: draft,
|
||||||
text_html: draft,
|
text_html: draft,
|
||||||
time: new Date().getTime() / 1000,
|
time: new Date().getTime() / 1000,
|
||||||
quotes: null,
|
quotes: null,
|
||||||
dm: false,
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue