parent
992828b0c3
commit
7f3810b67a
|
@ -41,7 +41,7 @@ proc init*(self: ProfileController, account: Account) =
|
||||||
let appearance = self.status.settings.getSetting[:int](Setting.Appearance)
|
let appearance = self.status.settings.getSetting[:int](Setting.Appearance)
|
||||||
let messagesFromContactsOnly = self.status.settings.getSetting[:bool](Setting.MessagesFromContactsOnly)
|
let messagesFromContactsOnly = self.status.settings.getSetting[:bool](Setting.MessagesFromContactsOnly)
|
||||||
let sendUserStatus = self.status.settings.getSetting[:bool](Setting.SendUserStatus)
|
let sendUserStatus = self.status.settings.getSetting[:bool](Setting.SendUserStatus)
|
||||||
let currentUserStatus = self.status.settings.getSetting[:JsonNode](Setting.CurrentUserStatus)["statusType"].getInt()
|
let currentUserStatus = self.status.settings.getSetting[:JsonNode](Setting.CurrentUserStatus){"statusType"}.getInt()
|
||||||
|
|
||||||
profile.appearance = appearance
|
profile.appearance = appearance
|
||||||
profile.id = pubKey
|
profile.id = pubKey
|
||||||
|
|
Loading…
Reference in New Issue