Message chunk loading test
This commit is contained in:
@@ -37,7 +37,7 @@ export default function DMs() {
|
||||
app={app}
|
||||
channelName={target?.display_name || id}
|
||||
channelIcon={target?.avatar_url || "_"}
|
||||
messages={app.messages.filter(
|
||||
messages={app.privateMessages.filter(
|
||||
(m) =>
|
||||
(m.channel_id === id && m.from === app.profile?.id) ||
|
||||
(m.from === id && m.channel_id === app.profile?.id)
|
||||
|
||||
@@ -52,7 +52,7 @@ export default function ChatHub() {
|
||||
channels: [],
|
||||
},
|
||||
];
|
||||
const recentActivity = app.messages.slice(0, 3);
|
||||
const recentActivity = app.privateMessages.slice(0, 3);
|
||||
|
||||
return (
|
||||
<AppLayout app={app}>
|
||||
|
||||
Reference in New Issue
Block a user