提交 ebe04d9f authored 作者: Mitch Capper's avatar Mitch Capper

minor update to note accounts as offline when sofia goes offline and version…

minor update to note accounts as offline when sofia goes offline and version bump for public release
上级 f3db7e7e
......@@ -51,5 +51,5 @@ using System.Windows;
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.1.1")]
[assembly: AssemblyFileVersion("1.0.1.1")]
[assembly: AssemblyVersion("1.0.1.2")]
[assembly: AssemblyFileVersion("1.0.1.2")]
......@@ -142,7 +142,21 @@ namespace FSClient {
}
}
private bool master_profile_ok;
private bool _master_profile_ok;
private bool master_profile_ok{
get { return _master_profile_ok; }
set{
_master_profile_ok = value;
if (!value)
{
foreach (var acct in Account.accounts)
{
if (acct.enabled)
acct.state = "SOFIA OFFLINE";
}
}
}
}
private bool sofia_actual_profile_check(bool is_last_try){
String res = Utils.api_exec("sofia", "xmlstatus profile softphone").ToLower().Trim();
if (res == "invalid command!"){
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论