This commit is contained in:
Dr Masroor Ehsan 2025-01-05 10:20:04 +06:00
parent 4f8aa9b903
commit 9a3ffebee9

View File

@ -9,7 +9,7 @@
{ {
private static function lastSeenKey(int $userId): string private static function lastSeenKey(int $userId): string
{ {
return sprintf('last_seen_%d', $userId); return sprintf('last_seen:%d', $userId);
} }
public static function setLastSeen(int $userId, ?Carbon $seenAt = null): void public static function setLastSeen(int $userId, ?Carbon $seenAt = null): void