+ {latestEventReaders.map((readerId) => {
+ const name = getName(readerId);
+ const avatarMxcUrl = room.getMember(readerId)?.getMxcAvatarUrl();
+ const avatarUrl = avatarMxcUrl
+ ? mx.mxcUrlToHttp(
+ avatarMxcUrl,
+ 100,
+ 100,
+ 'crop',
+ undefined,
+ false,
+ useAuthentication
+ )
+ : undefined;
+ // `ignoreSynthesized: true` — the default prefers the
+ // SDK's synthetic receipt, whose ts is the moment the
+ // reader last POSTED, not when they read. Real m.read
+ // only; rows without one just show no time.
+ const receiptTs = room.getReadReceiptForUserId(readerId, true)?.data?.ts;
+
+ return (
+
+ );
+ })}
+
+