mirror of
https://github.com/liamcottle/reticulum-meshchat.git
synced 2026-11-26 01:46:22 -05:00
delete lxmf messages by hash as ui might not have an id yet
This commit is contained in:
parent
827b453055
commit
daffc19f92
2 changed files with 8 additions and 8 deletions
|
|
@ -2291,7 +2291,7 @@
|
|||
}
|
||||
|
||||
// delete lxmf message from server
|
||||
await window.axios.delete(`/api/v1/lxmf-messages/${chatItem.lxmf_message.id}`);
|
||||
await window.axios.delete(`/api/v1/lxmf-messages/${chatItem.lxmf_message.hash}`);
|
||||
|
||||
// remove lxmf message from chat items using hash, as other pending items might not have an id yet
|
||||
this.chatItems = this.chatItems.filter((item) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue