forked from mirror/cinny
Compare commits
3 commits
b82584f7e4
...
17f7b9ff8c
Author | SHA1 | Date | |
---|---|---|---|
17f7b9ff8c | |||
|
21164a9b61 | ||
|
4923b17ad6 |
6 changed files with 9 additions and 8 deletions
4
package-lock.json
generated
4
package-lock.json
generated
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"name": "cinny",
|
||||
"version": "4.2.0",
|
||||
"version": "4.2.1",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "cinny",
|
||||
"version": "4.2.0",
|
||||
"version": "4.2.1",
|
||||
"license": "AGPL-3.0-only",
|
||||
"dependencies": {
|
||||
"@atlaskit/pragmatic-drag-and-drop": "1.1.6",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "cinny",
|
||||
"version": "4.2.0",
|
||||
"version": "4.2.1",
|
||||
"description": "Yet another matrix client",
|
||||
"main": "index.js",
|
||||
"type": "module",
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
import { useSpecVersions } from './useSpecVersions';
|
||||
|
||||
export const useMediaAuthentication = (): boolean => {
|
||||
const { versions } = useSpecVersions();
|
||||
const { versions, unstable_features: unstableFeatures } = useSpecVersions();
|
||||
|
||||
// Media authentication is introduced in spec version 1.11
|
||||
const authenticatedMedia = versions.includes('v1.11');
|
||||
const authenticatedMedia =
|
||||
unstableFeatures?.['org.matrix.msc3916.stable'] || versions.includes('v1.11');
|
||||
|
||||
return authenticatedMedia;
|
||||
};
|
||||
|
|
|
@ -15,7 +15,7 @@ export function AuthFooter() {
|
|||
target="_blank"
|
||||
rel="noreferrer"
|
||||
>
|
||||
v4.2.0
|
||||
v4.2.1
|
||||
</Text>
|
||||
<Text as="a" size="T300" href="https://twitter.com/cinnyapp" target="_blank" rel="noreferrer">
|
||||
Twitter
|
||||
|
|
|
@ -24,7 +24,7 @@ export function WelcomePage() {
|
|||
target="_blank"
|
||||
rel="noreferrer noopener"
|
||||
>
|
||||
v4.2.0
|
||||
v4.2.1
|
||||
</a>
|
||||
</span>
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
const cons = {
|
||||
version: '4.2.0',
|
||||
version: '4.2.1',
|
||||
secretKey: {
|
||||
ACCESS_TOKEN: 'cinny_access_token',
|
||||
DEVICE_ID: 'cinny_device_id',
|
||||
|
|
Loading…
Reference in a new issue