Use Constant from Cwtch
This commit is contained in:
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…
Reference in New Issue