Skip to content
Permalink
Browse files

Support for 'encrypted' property in TT-URLs. Fixes #458.

  • Loading branch information...
bear101 committed Sep 9, 2019
1 parent adbcd6b commit 1831e84d358b7fb32000d5e9fb77c42326643508
Showing with 5 additions and 0 deletions.
  1. +5 −0 Client/TeamTalkClassic/TeamTalkDlg.cpp
@@ -4918,6 +4918,11 @@ LRESULT CTeamTalkDlg::OnTeamTalkLink(WPARAM wParam, LPARAM lParam)
entry.szUsername = STR_UTF8( szToken.Tokenize(_T("="), j) );
else if(szSubToken.CompareNoCase(_T("password")) == 0)
entry.szPassword = STR_UTF8( szToken.Tokenize(_T("="), j) );
else if(szSubToken.CompareNoCase(_T("encrypted")) == 0)
{
CString szValue = szToken.Tokenize(_T("="), j);
entry.bEncrypted = (szValue.CompareNoCase(_T("true")) == 0 || szValue == _T("1"));
}
}
}
}

0 comments on commit 1831e84

Please sign in to comment.
You can’t perform that action at this time.