Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions Web/Models/Entities/Post.php
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,10 @@ public function getPlatform(bool $forAPI = false): ?string
return 'mobile';
break;

case 'OpenVK Desktop':
return 'desktop';
break;

case null:
return null;
break;
Expand Down
4 changes: 4 additions & 0 deletions Web/Models/Entities/User.php
Original file line number Diff line number Diff line change
Expand Up @@ -1018,6 +1018,10 @@ public function getOnlinePlatform(bool $forAPI = false): ?string
return 'mobile';
break;

case 'OpenVK Desktop':
return 'desktop';
break;

case null:
return null;
break;
Expand Down
Binary file added Web/static/img/app_icons/openvk_desktop.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions data/clients.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@
<Client tag="openvk_native" name="OpenVK Native" url="https://openvk.org/club9628" img="/assets/packages/static/openvk/img/app_icons/openvk_native.png" />
<Client tag="openvk_native_ios" name="OpenVK Native" url="https://openvk.org/club9628" img="/assets/packages/static/openvk/img/app_icons/openvk_native.png" />
<Client tag="openvk_flux_android" name="OpenVK Flux" url="https://openvk.org/openvkflux" img="/assets/packages/static/openvk/img/app_icons/openvk_flux.png" />
<Client tag="OpenVK Desktop" name="OpenVK Desktop" url="https://github.com/fayzetwin1/ovkdesktop" img="/assets/packages/static/openvk/img/app_icons/openvk_desktop.png" />
<Client tag="renaissance" name="через Агент Mail.ru (Renaissance)" url="https://mrim.su" img="/assets/packages/static/openvk/img/app_icons/renaissance_agent.png" />
</Clients>