Compare commits
5 Commits
82b7d060ba
...
2.1.2
| Author | SHA1 | Date | |
|---|---|---|---|
| 8cbe28f915 | |||
| 5472e190d9 | |||
| 45be976de1 | |||
| 6dcb1e959b | |||
| bb2d179871 |
4
package-lock.json
generated
4
package-lock.json
generated
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "redlight",
|
||||
"version": "2.1.0",
|
||||
"version": "2.1.2",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "redlight",
|
||||
"version": "2.1.0",
|
||||
"version": "2.1.2",
|
||||
"license": "GPL-3.0-or-later",
|
||||
"dependencies": {
|
||||
"axios": "^1.7.0",
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "redlight",
|
||||
"private": true,
|
||||
"version": "2.1.0",
|
||||
"version": "2.1.2",
|
||||
"license": "GPL-3.0-or-later",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
|
||||
@@ -40,7 +40,7 @@ export function wellKnownHandler(req, res) {
|
||||
federation_api: '/api/federation',
|
||||
public_key: getPublicKey(),
|
||||
software: 'Redlight',
|
||||
version: '2.1.0',
|
||||
version: '2.1.2',
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
@@ -122,9 +122,9 @@ export default function RecordingList({ recordings, onRefresh }) {
|
||||
href={format.url}
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
className="inline-flex items-center gap-1 px-2.5 py-1 rounded-lg bg-th-accent/10 text-th-accent text-xs font-medium hover:bg-th-accent/20 transition-colors"
|
||||
className="inline-flex items-center gap-2 px-3 py-2 rounded-lg bg-th-accent/10 text-th-accent text-sm font-medium hover:bg-th-accent/20 transition-colors"
|
||||
>
|
||||
<Play size={12} />
|
||||
<Play size={14} />
|
||||
{format.type === 'presentation' ? t('recordings.presentation') : format.type}
|
||||
</a>
|
||||
))}
|
||||
|
||||
@@ -19,7 +19,7 @@ export default function GuestJoin() {
|
||||
const [loading, setLoading] = useState(true);
|
||||
const [error, setError] = useState(null);
|
||||
const [joining, setJoining] = useState(false);
|
||||
const [name, setName] = useState(user?.name || '');
|
||||
const [name, setName] = useState(user?.display_name || user?.name || '');
|
||||
const [accessCode, setAccessCode] = useState(searchParams.get('ac') || '');
|
||||
const [moderatorCode, setModeratorCode] = useState('');
|
||||
const [status, setStatus] = useState({ running: false });
|
||||
@@ -106,7 +106,7 @@ export default function GuestJoin() {
|
||||
toast.error(t('room.guestRecordingConsent'));
|
||||
return;
|
||||
}
|
||||
if (!status.running) {
|
||||
if (!status.running && !roomInfo?.anyone_can_start) {
|
||||
setWaiting(true);
|
||||
return;
|
||||
}
|
||||
@@ -295,7 +295,7 @@ export default function GuestJoin() {
|
||||
)}
|
||||
</button>
|
||||
|
||||
{!status.running && (
|
||||
{!status.running && !roomInfo?.anyone_can_start && (
|
||||
<p className="text-xs text-th-text-s text-center">
|
||||
{t('room.guestWaitingMessage')}
|
||||
</p>
|
||||
|
||||
Reference in New Issue
Block a user