From 7ccbf8b7c1ea194660e88b645b5775a17ecdbba1 Mon Sep 17 00:00:00 2001 From: tusooa Date: Sun, 30 Jun 2024 11:22:04 -0400 Subject: [PATCH] Add kazv to clients --- images/client-icons/kazv.png | Bin 0 -> 6705 bytes src/open/clients/Kazv.js | 52 +++++++++++++++++++++++++++++++++++ src/open/clients/index.js | 2 ++ 3 files changed, 54 insertions(+) create mode 100644 images/client-icons/kazv.png create mode 100644 src/open/clients/Kazv.js diff --git a/images/client-icons/kazv.png b/images/client-icons/kazv.png new file mode 100644 index 0000000000000000000000000000000000000000..d78867e7e347cd2f3b7f96237c63d3ed4dadbc11 GIT binary patch literal 6705 zcmb_h_g527wBLj(U7GZcfb=gSouGh%^e#mKsY4 zm3OHlzPjb9VeSI}y5Ij@AfMOH^mrq)ulh4zBM(PksI9jH0EI%uUb(yY*x7nIh4ZG zfA>dvdN;p(cZg=TT2e-IQn%7$%^umzW{)VcfqOJ_^n`&mN5yRwtrdGF-xXjIae~i( z)wJ$+RCVO~Tv5|3w;3K^2VE=$t%$;-{@+XAVE7WH#&7Jg#~>yBzEL4{V`OrKvPylM zj+!I0%8-ECEX~)s*$Ovn3?jL7$&KZM9U0;izsII=kBctdgskeLY(BUu2z}sw$AFlR zuT~wXA&-U`yDJ=Q`J}~!FU5h`^nuVOdo71YGc~D(R=4tcj{edJ35@ZCk=UY-aLYN9 z@&|4)I;kRag(i=^LuUHO*c4<8-jHSi5V5MkzCe@&Ita5e>h91>F?;xXL#9aWuP6LIDgT z+afQE_M@km{q?pI+(KfSQjpb+*Fb&q%`R%16~Vx!W*2p;MiUerjn0Nt>mL zvcM)`_Yy4=dD)e=+UJS9!E6N}*lbHP`7gkM?*BbU+w&CFlItu>f!;j$3DvQ#*du%z z1Q@c&yj>Gu5zEzHeGCi~lcbyjp+QT<{n6pG<$u`J%n=%BpJFSY8SdOt+2*et@XrYK ze|Vu>$j4?Hgy=o0>PmoANW}V=+NL_~A4`2>AbIf%?sWeAmn5NuF?+7ypax~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jldRo$3lCqXDuzL3+F>-eiY^23F=4 zX3v^Lr5?lV*x(remjgH?P#6FWTZ0v#R6Jj^l8FQD+Qt~>z|o@*iWm?u+?(^Fi!$X- z{vez4{=N&Kk`vuXIL5vdJ&n3ILZk2hiS{OtMs)4hPJC#L_`##v2Vb_VmC)8hB7^Ro z+oKrO?`K=>1U8sEI7@_C6i*e^W!OD*gpWTh&%k}vp7D|4J zF>|YJ1l`s;3qEm&<+(*#XLp?4#EM!fIlU+#En$SwwX*xjS4#$-@ zZ6n{+`oqmDt&bb5SHfcl2o$xJmCE9{#iHjW#57pS{=DDq&@5Nxw2pU8=IDKQwEs7x zPWC*V4f?%m`zx-xfZe^psaw7j6w958q=nkLiRSiR83DR!GwD9d@41ml{m4)A- z%tim4pcV@qJnE6n2PmF-4yiUOBQJDFv&n?ELHRvL59Cse@L-Qf*N8LG_YyBox14dO zn*$M5{!PyC0y4xM(e&$UZ|g;fW|!Gs5);3}UtJ=NzG!gsEtNII@!WI5PvM=`8jE)$ zW*xN(*i`UqCG0!+aT6rp4L2F7{@lMwD5H`xnN?KwYRz1k`vpk<0V>F!A&hVBIPAVI z?DepNu!tK4B`Z06Q1%O{1ZMdMc=eG#BPepk@)=+?5YK}^1yPg3W6jM8nL<5Yf;{Df z@obNuivS#XU;p8Iz^k|K{WFE&O`rPlcqbA@AfaFFwhg+Tgd9#1SBQtrMGzqhB8>={ zum?!+s_ia4C=#Mj2Lxni{2L(72p35#Ck5WFjlL8C%z4aj19+<>-umCO+h}kkWDqaw z8T9J#wb4iTe&@u0gM{$iek!+7QW!OJ=O05)ev74F_F1(pJXHI?mSkxx^`7z3h&t3o S5C6Ld&{Wq|tA1qj_J06@8|H`r literal 0 HcmV?d00001 diff --git a/src/open/clients/Kazv.js b/src/open/clients/Kazv.js new file mode 100644 index 0000000..fc60d21 --- /dev/null +++ b/src/open/clients/Kazv.js @@ -0,0 +1,52 @@ +/* +Copyright 2020 The Matrix.org Foundation C.I.C. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +import {Maturity, Platform, LinkKind, WebsiteLink, style} from "../types.js"; + +export class Kazv { + get id() { return "kazv"; } + get name() { return "kazv"; } + get icon() { return "images/client-icons/kazv.png"; } + get author() { return "The Kazv Project"; } + get homepage() { return "https://kazv.chat/"; } + get platforms() { return [Platform.Windows, Platform.Linux]; } + get description() { return 'A convergent Matrix client and secure messaging app.'; } + getMaturity(platform) { return Maturity.Beta; } + getDeepLink(platform, link) {} + canInterceptMatrixToLinks(platform) { return false; } + + getLinkInstructions(platform, link) { + switch (link.kind) { + case LinkKind.User: return [`In Global Drawer, click on "Create Room", and invite `, style.code(`${link.identifier}`)]; + case LinkKind.Room: return [`In Global Drawer, click on "Join Room", and enter `, style.code(`${link.identifier}`)]; + } + } + + getCopyString(platform, link) { + switch (link.kind) { + case LinkKind.User: return link.identifier; + case LinkKind.Room: return link.identifier; + } + } + + getInstallLinks(platform) { + return [ + new WebsiteLink("https://lily-is.land/kazv/kazv/-/releases") + ]; + } + + getPreferredWebInstance(link) {} +} diff --git a/src/open/clients/index.js b/src/open/clients/index.js index 0a1c75c..c658079 100644 --- a/src/open/clients/index.js +++ b/src/open/clients/index.js @@ -26,6 +26,7 @@ import {NeoChat} from "./NeoChat.js"; import {Syphon} from "./Syphon.js"; import {Thunderbird} from "./Thunderbird.js"; import {Cinny} from "./Cinny.js" +import {Kazv} from "./Kazv.js"; export function createClients() { return [ @@ -41,5 +42,6 @@ export function createClients() { new Syphon(), new Thunderbird(), new Cinny(), + new Kazv(), ]; }