constants

package
v0.18.4 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2022 License: MIT Imports: 0 Imported by: 5

Documentation

Index

Constants

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 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 CustomProfileImageKey = "custom-profile-image"
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 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 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 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 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