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

pull/40/head
Sarah Jamie Lewis 3 months ago
parent f60fbfc3d5
commit 3e9c9c3b70

@ -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"

@ -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"

Loading…
Cancel
Save