Bug Fix - Remove Persistent Online from Added Members in Rooms

This commit is contained in:
2024-04-22 23:38:05 -04:00
parent 0886b85847
commit f5f4706123
@@ -49,6 +49,7 @@ function addToMyRooms(chatRoomObj, user) {
);
var path =
chatRoomObj.path + "/" + chatRoomObj.name + "-" + chatRoomObj.timestamp;
user.lastOnline = serverTimestamp();
set(ref(database, `/rooms/${path}/users/all/${user.uid}`), user);
}