Skip to content
This repository has been archived by the owner on Jan 29, 2024. It is now read-only.

Commit

Permalink
Fixed account presence not loading from DB #139
Browse files Browse the repository at this point in the history
  • Loading branch information
COM8 committed Oct 9, 2020
1 parent 393c895 commit 9ad10fb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions Data_Manager2/Classes/DBTables/AccountTable.cs
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ public AccountTable(XMPPAccount account)
disabled = account.disabled;
color = account.color;
presence = account.presence;
presencePriorety = account.presencePriorety;
status = account.status;
omemoKeysGenerated = account.omemoKeysGenerated;
omemoDeviceId = account.omemoDeviceId;
Expand Down
4 changes: 2 additions & 2 deletions XMPP_API/Classes/Network/XMPPAccount.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ public string serverAddress
get => _serverAddress;
set => SetProperty(ref _serverAddress, value);
}
private int _presencePriorety;
public int presencePriorety
private short _presencePriorety;
public short presencePriorety
{
get => _presencePriorety;
set => SetProperty(ref _presencePriorety, value);
Expand Down

0 comments on commit 9ad10fb

Please sign in to comment.