Use Constant from Cwtch
continuous-integration/drone/pr Build is running Details
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Sarah Jamie Lewis 2023-09-13 11:52:11 -07:00
parent f60fbfc3d5
commit 3e9c9c3b70
2 changed files with 1 additions and 2 deletions

View File

@ -12,7 +12,6 @@ const LastSeenTime = "lastMessageSeenTime"
const PeerOnline = "peer-online"
const PeerAutostart = "autostart"
const PeerAppearOffline = "appear-offline"
// ConversationNotificationPolicy is the attribute label for conversations. When App NotificationPolicy is OptIn a true value here opts in
const ConversationNotificationPolicy = "notification-policy"

View File

@ -167,7 +167,7 @@ func (eh *EventHandler) handleAppBusEvent(e *event.Event) string {
}
e.Data["autostart"] = autostart
appearOffline, exists := profile.GetScopedZonedAttribute(attr.LocalScope, attr.ProfileZone, constants2.PeerAppearOffline)
appearOffline, exists := profile.GetScopedZonedAttribute(attr.LocalScope, attr.ProfileZone, constants.PeerAppearOffline)
// legacy profiles should not appearOffline by default
if !exists {
appearOffline = "false"