fix: recent loading

This commit is contained in:
Barış Soner Uşaklı
2024-01-05 16:15:13 -05:00
committed by GitHub
parent 2bed405cd5
commit d3d6d77d1e

View File

@@ -35,7 +35,7 @@ define('forum/chats/recent', ['alerts', 'api', 'chat'], function (alerts, api, c
return; return;
} }
recentChats.attr('loading', 1); recentChats.attr('loading', 1);
app.get(`/chats`, { api.get(`/chats`, {
uid: ajaxify.data.uid, uid: ajaxify.data.uid,
after: recentChats.attr('data-nextstart'), after: recentChats.attr('data-nextstart'),
}).then(({ rooms, nextStart }) => { }).then(({ rooms, nextStart }) => {