mirror of
https://github.com/spacebarchat/server.git
synced 2024-11-22 02:12:40 +01:00
This commit is contained in:
parent
8a31d66742
commit
7fc3634211
@ -111,7 +111,7 @@ async function getMembers(guild_id: string, range: [number, number]) {
|
||||
var session: Session | undefined = sessions.first();
|
||||
|
||||
if (session?.status == "offline") {
|
||||
session.status = member.user.settings.status || "online";
|
||||
session.status = member?.user?.settings?.status || "online";
|
||||
}
|
||||
|
||||
const item = {
|
||||
|
Loading…
Reference in New Issue
Block a user