diff --git a/constants/attributes.go b/constants/attributes.go index c23ec0c..5ddb9d5 100644 --- a/constants/attributes.go +++ b/constants/attributes.go @@ -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" diff --git a/utils/eventHandler.go b/utils/eventHandler.go index e3985b6..486a1a8 100644 --- a/utils/eventHandler.go +++ b/utils/eventHandler.go @@ -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"