Compare commits

..

5 commits

Author SHA1 Message Date
ZAZiOs
64eb69ecfd
Merge bc07c9bfe7 into b90a0fa013 2025-06-12 13:29:38 +00:00
ZAZiOs
bc07c9bfe7
лучше оставить айди группы 2025-06-12 16:29:35 +03:00
ZAZiOs
caad031315 Added OVK Native to clients.xml 2025-06-12 16:11:20 +03:00
ZAZiOs
d56cc74f7d
to snake case 2025-06-12 15:49:05 +03:00
ZAZiOs
dc9b448505
to snake case 2025-06-12 15:48:05 +03:00
4 changed files with 7 additions and 5 deletions

View file

@ -176,13 +176,13 @@ class Post extends Postable
$platform = $this->getRecord()->api_source_name;
if ($forAPI) {
switch ($platform) {
case 'OpenVK Native':
case 'openvk_native':
case 'openvk_refresh_android':
case 'openvk_legacy_android':
return 'android';
break;
case 'OpenVK Native iOS':
case 'openvk_native_ios':
case 'openvk_ios':
case 'openvk_legacy_ios':
return 'iphone';

View file

@ -971,13 +971,13 @@ class User extends RowModel
$platform = $this->getRecord()->client_name;
if ($forAPI) {
switch ($platform) {
case 'OpenVK Native':
case 'openvk_native':
case 'openvk_refresh_android':
case 'openvk_legacy_android':
return 'android';
break;
case 'OpenVK Native iOS':
case 'openvk_native_ios':
case 'openvk_ios':
case 'openvk_legacy_ios':
return 'iphone';

Binary file not shown.

After

Width:  |  Height:  |  Size: 37 KiB

View file

@ -3,4 +3,6 @@
<Client tag="vk4me" name="VK4ME" url="http://vk4me.crx.moe/" img="/assets/packages/static/openvk/img/app_icons/vk4me.png" />
<Client tag="openvk_legacy_android" name="OpenVK Legacy" url="https://f-droid.org/packages/uk.openvk.android.legacy/" img="/assets/packages/static/openvk/img/app_icons/openvk_legacy.png" />
<Client tag="openvk_refresh_android" name="OpenVK Refresh" url="https://github.com/openvk/mobile-android-refresh" img="/assets/packages/static/openvk/img/app_icons/openvk_refresh.png" />
</Clients>
<Client tag="openvk_native" name="OpenVK Native" url="https://ovk.to/club9628" img="/assets/packages/static/openvk/img/app_icons/openvk_native.png" />
<Client tag="openvk_native_ios" name="OpenVK Native" url="https://ovk.to/club9628" img="/assets/packages/static/openvk/img/app_icons/openvk_native.png" />
</Clients>