Fix null account warnings on AddChat pages

This commit is contained in:
miruka 2020-07-11 22:19:25 -04:00
parent 1ad3de3917
commit 67f1572a18
3 changed files with 3 additions and 3 deletions

View File

@ -8,7 +8,7 @@ import "../../Base/ButtonLayout"
HFlickableColumnPage {
id: page
enabled: account.presence !== "offline"
enabled: account && account.presence !== "offline"
property string userId

View File

@ -8,7 +8,7 @@ import "../../Base/ButtonLayout"
HFlickableColumnPage {
id: page
enabled: account.presence !== "offline"
enabled: account && account.presence !== "offline"
property string userId

View File

@ -8,7 +8,7 @@ import "../../Base/ButtonLayout"
HFlickableColumnPage {
id: page
enabled: account.presence !== "offline"
enabled: account && account.presence !== "offline"
property string userId