add DM screen
This commit is contained in:
parent
a666cb9915
commit
be26703908
8 changed files with 386 additions and 8 deletions
|
|
@ -127,12 +127,12 @@
|
|||
|
||||
async function refreshDms() {
|
||||
try {
|
||||
|
||||
|
||||
showAction("action.dm.fetch", "dmrefresh");
|
||||
let res = await fetchEncrypted("user/dm/list");
|
||||
|
||||
clearAction("dmrefresh");
|
||||
if (typeof renderDms === 'function') {
|
||||
await renderDms(res);
|
||||
}
|
||||
}
|
||||
catch (e) {
|
||||
clearAction("dmrefresh");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue