mirror of
https://invent.kde.org/network/krfb
synced 2024-07-08 12:05:49 +00:00
Publish service on local network depending on config
This commit is contained in:
parent
ad79d51e8b
commit
85e13b7908
|
@ -86,7 +86,8 @@ bool InvitationsRfbServer::allowUnattendedAccess() const
|
|||
bool InvitationsRfbServer::start()
|
||||
{
|
||||
if(RfbServer::start()) {
|
||||
m_publicService->publishAsync();
|
||||
if(KrfbConfig::publishService())
|
||||
m_publicService->publishAsync();
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
|
|
Loading…
Reference in New Issue
Block a user