constants

package
v0.28.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 20, 2024 License: MIT Imports: 0 Imported by: 4

Documentation

Index

Constants

View Source
const ACLVersion = "acl-version"

Used to store the status of acl migrations

View Source
const ACLVersionOne = "acl-v1"
View Source
const ACLVersionTwo = "acl-v2"
View Source
const Archived = "archived"
View Source
const AttrAck = "ack"

AttrAck - conversation attribute for acknowledgement status

View Source
const AttrAuthor = "author"

AttrAuthor - conversation attribute for author of the message - referenced by pub key rather than conversation id because of groups.

View Source
const AttrDownloaded = "file-downloaded"

AttrDownloaded - conversation attribute for storing downloaded prompts (for file downloads)

View Source
const AttrErr = "error"

AttrErr - conversation attribute for errored status

View Source
const AttrLastConnectionTime = "last-connection-time"
View Source
const AttrRejected = "rejected-invite"

AttrRejected - conversation attribute for storing rejected prompts (for invites)

View Source
const AttrSentTimestamp = "sent"

AttrSentTimestamp - conversation attribute for the time the message was (nominally) sent

View Source
const BlodeuweddExperiment = "blodeuwedd"

BlodeuweddExperiment enables the Blodeuwedd Assistant

View Source
const CHANNEL_CHAT = 0
View Source
const CHANNEL_MANAGER = 2
View Source
const CustomProfileImageKey = "custom-profile-image"
View Source
const Description = "description"

Description is used on server contacts,

View Source
const False = "false"

False - false

View Source
const FileSharingExperiment = "filesharing"

FileSharingExperiment Allows file sharing

View Source
const GroupID = "groupid"

GroupID is the ID of a group

View Source
const GroupKey = "groupkey"

GroupKey is the name of the group key attribute...

View Source
const GroupManagerExperiment = "group-manager"

Enables the Hybrid Group Manager Extension

View Source
const GroupPrefix = "torv3"

GroupPrefix precedes a group import statement

View Source
const GroupServer = "groupserver"

GroupServer identifies the Server the legacy group is hosted on

View Source
const GroupsExperiment = "tapir-groups-experiment"
View Source
const ImagePreviewMaxSizeInBytes = 20971520

ImagePreviewMaxSizeInBytes Files up to this size will be autodownloaded using ImagePreviewsExperiment

View Source
const ImagePreviewsExperiment = "filesharing-images"

ImagePreviewsExperiment Causes images (up to ImagePreviewMaxSizeInBytes, from accepted contacts) to auto-dl and preview requires FileSharingExperiment to be enabled

View Source
const ImportBundlePrefix = "importBundle"

ImportBundlePrefix is an error api constant for import bundle error messages

View Source
const InvalidPasswordError = "invalid_password_error"

InvalidPasswordError is returned when an incorrect password is provided to a function that requires the current active password

View Source
const MessageFormattingExperiment = "message-formatting"
View Source
const Name = "name"

Name refers to a Profile Name

View Source
const Onion = "onion"

Onion refers the Onion address of the profile

View Source
const PasswordsDoNotMatchError = "passwords_do_not_match"

PasswordsDoNotMatchError is returned when two passwords do not match

View Source
const PeerAppearOffline = "appear-offline"
View Source
const PeerAutostart = "autostart"
View Source
const PrivateName = "private-name"
View Source
const ProfileAttribute1 = "profile-attribute-1"
View Source
const ProfileAttribute2 = "profile-attribute-2"
View Source
const ProfileAttribute3 = "profile-attribute-3"
View Source
const ProfileStatus = "profile-status"
View Source
const ProfileTypeV1DefaultPassword = "v1-defaultPassword"

ProfileTypeV1DefaultPassword is a tag describing a profile protected with the default password.

View Source
const ProfileTypeV1Password = "v1-userPassword"

ProfileTypeV1Password is a tag describing a profile encrypted derived from a user-provided password.

View Source
const ServerPrefix = "server:"

ServerPrefix precedes a server import statement

View Source
const SyncMostRecentMessageTime = "SyncMostRecentMessageTime"
View Source
const SyncPreLastMessageTime = "SyncPreLastMessageTime"
View Source
const Tag = "tag"

Tag describes the type of a profile e.g. default password / encrypted etc.

View Source
const TofuBundlePrefix = "tofubundle:"

TofuBundlePrefix precedes a server and a group import statement

View Source
const True = "true"

True - true

Variables

View Source
var AutoDLFileExts = [...]string{".jpg", ".jpeg", ".png", ".gif", ".webp", ".bmp"}

AutoDLFileExts Files with these extensions will be autodownloaded using ImagePreviewsExperiment

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL