Draft, pending legal review. This document is not yet in force. Highlighted items in [[double brackets]] have not been filled in yet.

ChatHaven policies

Privacy Policy

Effective date: [[EFFECTIVE_DATE]]

This policy explains what Haven (also called ChatHaven) collects, why, who else receives it, and what you can do about it. It describes the service as it works today, including the parts that are not yet as private as we want them to be. Where we have not yet decided something, we say so instead of guessing.

Haven is operated by [[COMPANY_LEGAL_NAME]], [[COMPANY_ADDRESS]] ("we", "us"). For anything about your data, write to [[PRIVACY_EMAIL]].

1. The short version

  • You can sign up with only a username and a password. An email address is optional. We never ask for a phone number or your real name.
  • There are no ads, no advertising identifiers and no third-party analytics or tracking scripts in the Haven app or on this website. We do not sell your data.
  • Your password never reaches our servers. Your app turns it into a sign-in key on your device, and we store only a keyed hash of that key.
  • Direct messages and group chats are end-to-end encrypted: message text, edits, files (with their names), polls, reply and link previews (see section 3 for the optional preview fetch). So are voice and video calls, including screen shares. Our servers store and relay this content but cannot read it. Section 3 explains the limits.
  • Not end-to-end encrypted: messages and files in server channels, public live streams on profiles, and the information about who talks to whom and when (section 2.5). Our servers can read that.
  • You can delete your account in the app (section 9). Exporting your data is not built yet; you can ask us for a copy (section 9).

2. What we collect

2.1 Account information

WhatRequired?Notes
UsernameYesPublic.
PasswordYesNever sent to us. Your app derives a sign-in key from it on your device (Argon2id), and our server stores only a keyed hash of that sign-in key (HMAC-SHA256 with a secret held by the server). We cannot reset your password for you.
Recovery keyYesShown to you once at sign-up; only you keep it. It is the only way back into an account without an email if you forget your password. We do not store it.
Email addressNoOnly if you choose to add one. Stored in readable form. Used to send account-recovery emails and, where enabled, an email to confirm the address.
Display name, bio, avatar, banner, profile links, statusNoWhatever you choose to add. Shown to other people according to your profile visibility setting.
Two-factor authentication secretNoOnly if you turn on two-factor login. Stored encrypted with a key held by our server, which our server uses to check your codes.
PreferencesNoTheme, layout and notification settings.

We do not collect a phone number, a real name, a date of birth, your contacts or your precise location.

2.2 Messages and other content

We store what you send so that we can deliver it and show it to you on your other devices.

ContentEnd-to-end encrypted?Can our servers read it?
Direct messages and group chats: message text, edits, polls, reply previews, link previewsYes, with the limits in section 3No. Stored as ciphertext. There is no unencrypted mode for these chats: a message that cannot be encrypted is not sent.
Files and images sent in a direct message or group chat, with their names and typesYesNo. Stored as ciphertext (section 2.3).
Voice, video and screen sharing in calls (server voice channels and group chats)YesNo. Not stored by us; carried live, encrypted, by LiveKit (section 6). We do not record calls.
Messages, threads, forum posts, polls and files in server channelsNoYes. Server-channel messages are also indexed so that search works.
Public live streams on a profileNoYes, while live. Not recorded.
Reactions, pins, who mentioned whom, which message replies to whichNoYes, in every kind of chat

When you edit a message in a server channel we keep the earlier versions as edit history. In direct messages and group chats an edit replaces the encrypted message and no earlier version is kept. In direct messages and group chats, deleting a message erases its text, its edit history and its files. In server channels, deleting a message hides it from everyone, but its content and edit history currently remain in our database.

2.3 Files you upload

Files, images, avatars, banners, server icons and custom emoji are stored with our storage provider (Cloudflare R2, section 6).

  • In direct messages and group chats a file is encrypted on your device before upload, together with its name and type, and stored in a private storage area. It is fetched only through short-lived links our server hands to members of the conversation. Before encryption, the app removes embedded details such as location and camera model from JPEG, PNG, WebP and GIF images. Other image types (for example HEIC) cannot be attached. Other files (for example PDFs or archives) are sent as they are. When the message is deleted, the file is removed from storage, usually at once and at the latest within about an hour and a quarter (a file uploaded only minutes earlier waits until its upload link has expired).
  • In server channels, and for avatars, banners, icons and emoji, files are stored exactly as you upload them. A photo keeps any details embedded in it, such as the location where it was taken and the device model. Each file sits at a long, unguessable web address that is not protected by a login: anyone who has the link can open it. These files are not currently removed from storage when their message is deleted.

2.4 Encryption keys

  • Account keys. When you sign up, your app creates your keys on your device: a signing key (to sign the messages you send) and an encryption key (to receive the keys of your conversations and calls). We store the public halves, with a version number, so that other people's apps can encrypt to you and check your signatures.
  • Key vault. Your private keys are kept in a key vault that your app encrypts on your device before upload, with a key derived from your password and, separately, with your recovery key. We store the encrypted vault and cannot open it. A device you sign in on opens the vault with your password.
  • Conversation keys. Each direct message and group chat has its own key, replaced when someone leaves or is removed. It is stored on our servers only sealed to each member's encryption key.

2.5 Who you talk to, and when

To run a chat service we necessarily hold: the servers you belong to and your roles in them; your friends and friend requests; who is in each direct-message conversation and group chat; who sent each message, where and when, and its approximate size; who was mentioned and which message replies to which; how many files a message has and their sizes; reactions and pins; poll vote counts; what you have read; your notifications (for server-channel messages these include a short preview; for direct messages and group chats they do not); your online status; who is in which call, when, and who is speaking. This information is not end-to-end encrypted.

2.6 Sessions and sign-in records

For each place you are logged in we store a hashed sign-in token, the platform, a device name, and when it was created and last used. We do not store your IP address with it. You can see and end these sessions in Settings. A session ends after 30 days without use, and at the latest 180 days after you signed in.

The app keeps your short-lived access token in memory only. The longer-lived sign-in token is kept in a cookie set by the app (app.chathaven.gg) that scripts cannot read and that is sent only to our own server. It is strictly necessary to keep you signed in and is used for nothing else.

2.7 IP addresses and technical data

  • Rate limiting. To stop abuse, our server keeps your IP address in memory for a short time to count requests (seconds to minutes for most limits, up to a day for the limit on new sign-ups from one address). These counters are not written to our database and are lost when the server restarts.
  • Server logs. Our web servers write a log line for each request. A line can include your IP address, your browser type and the address requested. Search terms currently travel in the address, so they can appear in these logs. Logs are held by our hosting provider. Retention: not yet defined [[RETENTION_LOGS]].
  • Database. Our application does not write your IP address to the database.

2.8 Moderation records

If you report someone, we store the report: who reported it, which messages, and the reason given. We also store bans, mutes and a log of moderation actions taken in each server.

If you report messages from a direct message or group chat, your app shares exactly those messages with our staff, together with the keys needed to read them and their files, and nothing else from the chat. That evidence is kept while the report is open and for a limited time after it is closed (section 7).

2.9 What stays on your device

The app stores your preferences, the keys it needs for the conversations you open (in encrypted form where the browser allows), a list of the people whose keys you have accepted, and, so that search works in direct messages and group chats, the messages it has loaded. The sign-in cookie is described in section 2.6. This website (chathaven.gg) sets no cookies and stores nothing on your device.

3. Encryption: what it protects and what it does not

We want to be exact here, because "end-to-end encrypted" can mean very different things.

What is encrypted. In direct messages and group chats: message text, edits, files with their names and types, poll questions and options, reply previews and link previews. If you turn on the optional setting "Fetch link previews through ChatHaven", the first link in a message you send is sent to our server, which fetches its title and description; the preview then travels inside the encrypted message. It is off by default. Each conversation has its own key, which members' apps share with each other sealed to each member's account key (X25519, XChaCha20-Poly1305); every message is signed by its author. In calls: each participant's audio, video and screen share, encrypted on their device with a key given only to the people in the call's participant list.

What it protects against. Our servers, our storage and media providers, and anyone who obtains a copy of our database or storage, cannot read that content. When someone is removed from a group chat, or leaves it, the conversation moves to a new key they never receive.

What it does not protect against:

  • Server channels and public streams. They are not end-to-end encrypted (section 2.2).
  • Information about your conversations. Who is in a chat or a call, who sent a message and when, its size, mentions, reactions and the rest of section 2.5 are visible to us.
  • Key substitution on first contact. The first time you talk to someone, your app trusts the key our servers hand out for them and remembers it. If it later changes, you are warned and sending stops until you accept the new key; there is no way yet to compare keys with the other person directly (no safety numbers).
  • Who is let into a call or group. Our servers decide who can join a call and deliver membership changes. Anyone admitted appears in the participant list or member list, and receives the keys, so keep an eye on those lists.
  • No forward secrecy. If a conversation's key or your account key is ever exposed, earlier messages in that conversation can be decrypted. Someone removed from a group keeps what they had already received.
  • Weak passwords. Someone who stole our database could try to guess the password protecting a key vault. A long, unique password, and keeping your recovery key safe, are your protection.
  • Code we serve. The web app runs the code our servers deliver to your browser, and the desktop app loads the same web app. The protection is against what is stored on and passes through our servers, not against a changed app.
  • Reports. If you report messages from an encrypted chat, those messages are shared with our staff (section 2.8).

4. What we do not do

  • No advertising, no ad networks, no advertising identifiers.
  • No third-party analytics, telemetry or tracking scripts in the app or on this website.
  • We do not sell or rent personal data, and we do not share it for anyone else's marketing.
  • We do not read your contacts, and we do not track what you do outside Haven.
  • We do not use your messages to build advertising profiles or to train AI models.

5. How we use your data

We use the data above only to:

  • provide the service: deliver messages, show your history, run voice and video, sync your devices;
  • keep accounts secure: check sign-in keys, limit abuse, detect spam and attacks;
  • moderate: act on reports and enforce the Terms of Service and Community Guidelines;
  • send service email, if you gave us an address: account recovery and address confirmation. We do not send marketing email;
  • comply with the law and respond to valid legal requests (section 11).

If data protection law such as the GDPR applies to you, the legal bases we rely on are: performance of our contract with you (running your account and delivering your content), our legitimate interests (security, abuse prevention and moderation), and legal obligation. Needs legal review

6. Who else can see your data

6.1 Other people on Haven

  • Your profile. Your username, display name, avatar and, by default, your bio, links and status are visible to other users. Profiles are public by default and can currently be viewed without logging in. You can restrict this in your profile visibility settings.
  • Your messages. Visible to everyone who can read the channel or conversation you post in.
  • Server owners and moderators can read every message in the channels they have access to, see ban and mute lists and their server's moderation log, and see reports made in their server, including the reported message and its author. They cannot see your email address, your IP address, your direct messages or your group chats.
  • Images from other websites. If a message, link preview or avatar contains an image hosted on another website, your app loads it directly from that website, which can then see your IP address and browser type. Another user can use this to learn your IP address.
  • Anonymous channels replace names with aliases. This is a display feature, not a guarantee of anonymity: we always know who wrote a message, moderators may see it, and determined members may be able to work it out. Do not rely on it to protect your identity.

6.2 Our staff

A small number of authorised people can access our systems to run and moderate the service. Through the admin tools they can see each account's username, email address (if any), status, whether two-factor login is on, and sign-up date, plus reports (including messages from encrypted chats that a reporter chose to share, section 2.8) and overall counts. People with database access can technically read anything that section 2.2 says our servers can read, but not the end-to-end encrypted content.

6.3 Companies that process data for us

ProviderWhat it does for usWhat it receives
RailwayHosts our application servers, database and message brokerEverything we store: account data, messages (direct messages and group chats only as ciphertext), public keys and encrypted key vaults, moderation records, and the server logs described in section 2.7
CloudflareSits in front of our website and app (network protection and delivery) and stores uploaded files (R2)All traffic to and from our servers passes through it, with your IP address and browser type. It sees server-channel content and the information in section 2.5 in readable form; direct messages, group chats, their files and call keys only as ciphertext. R2 holds the stored files (those from direct messages and group chats encrypted)
LiveKit CloudCarries voice, video and screen sharingYour audio, video and screen share, end-to-end encrypted (it cannot decrypt them); your user ID, an identifier for the call, who is speaking, and your IP address. Public live streams on profiles are not encrypted
ResendSends emailOnly if you gave us an email address: that address and the content of the email (for example an account-recovery link)

We also rely on GitHub to host desktop app downloads and updates. When you download the desktop app, or when it checks for an update, GitHub sees your IP address. The desktop app's built-in spellchecker may download dictionary files from Google. User profile pages that show social links load small icons from cdn.simpleicons.org, which sees the viewer's IP address.

These providers may process data outside your country. Our servers are located in [[HOSTING_REGION]]. Needs legal review

6.4 Nobody else

We do not share personal data with advertisers, data brokers or analytics companies. If Haven were ever sold or merged, we would tell you before your data moved to a different operator. Needs legal review

7. How long we keep it

Where the product does not yet have a retention rule, the table says so. We would rather show the gap than invent a number.

DataHow long
Your account and profileUntil your account is deleted (section 9). Inactive accounts: not yet defined [[RETENTION_INACTIVE_ACCOUNTS]]
MessagesUntil you or a moderator delete them
Deleted messagesDirect messages and group chats: deleting a message erases its text and edit history at once (an empty placeholder stays so that replies to it still make sense), and its files are removed from storage within about an hour and a quarter. Server channels: deleting a message hides it from everyone, but its content and edit history currently remain in our database. Not yet defined [[RETENTION_DELETED_MESSAGES]]
Disappearing messagesRemoved from the database within about a minute of the timer running out. Notification previews and attached files can currently outlive them
Uploaded filesDirect messages and group chats: removed with their message (above). Server channels: no automatic deletion today, including after the message is deleted. Not yet defined [[RETENTION_FILES]]
Server moderation logs90 days
MutesRemoved within an hour of expiring
ReportsEvidence shared from an encrypted chat (the messages, their keys and files): kept while the report is open and 180 days after it is resolved or dismissed, unless it is needed for a legal claim. Other report records: not yet defined [[RETENTION_REPORTS]]
Login sessionsA session ends after 30 days without use, and at the latest 180 days after sign-in. Old session records, read notifications and cached link previews are not yet purged automatically. Not yet defined [[RETENTION_OTHER_RECORDS]]
Account-recovery linksWork once and expire after 30 minutes
Rate-limit counters (IP address)In memory only: minutes, at most one day
Web server logs (IP address, browser, address requested)Not yet defined [[RETENTION_LOGS]]
Database backupsNot yet defined [[RETENTION_BACKUPS]]

8. Security

  • All connections to Haven use HTTPS.
  • Your password never reaches our servers: your app derives a sign-in key from it (Argon2id) and we store only a keyed hash of that key. Sign-in tokens are stored hashed and are replaced each time they are used; a token used twice ends the session.
  • Direct messages, group chats and calls are end-to-end encrypted (section 3).
  • You can turn on two-factor login, see every place you are logged in, and end any session.
  • Requests are rate limited to slow down guessing and abuse.

No service can promise perfect security. Sections 2.3 and 3 list the limits we know about. If we learn of a breach that affects your data, we will tell you and the relevant authorities as the law requires. Needs legal review

To report a security problem, write to contact@chathaven.gg.

9. Your choices and rights

In the app today you can: edit your profile; add or change your email address; change who can see your profile; delete your own messages (section 7); end sessions; leave servers and group chats; remove friends; delete your account.

Deleting your account. In Settings > Privacy. Deletion removes your profile, email address, sign-in data, key vault, sessions, friends and notifications, and frees your username. You choose what happens to the messages you posted: deleted, or kept and shown as written by "Deleted user" (without their files). Your public keys stay listed, marked as no longer in use, so that others' apps can still check old signatures. If you cannot sign in, write to [[PRIVACY_EMAIL]]; we will need to confirm the account is yours, and will act within [[DELETION_RESPONSE_TIME]]. Copies in backups age out after [[RETENTION_BACKUPS]].

Getting a copy of your data. There is no export button yet. Write to [[PRIVACY_EMAIL]] and we will send you a copy.

Other rights. Depending on where you live, you may have the right to access, correct, delete, restrict or object to our use of your data, to receive it in a portable form, and to complain to your data protection authority. Write to [[PRIVACY_EMAIL]] to use any of these. We will not treat you differently for doing so. Needs legal review

Our representative for data protection matters, if one is required: [[EU_UK_REPRESENTATIVE]].

10. Children

Haven is not for children under [[MINIMUM_AGE]]. We do not ask for your age or date of birth when you sign up. If we learn that an account belongs to someone under that age, we will close it and delete its data. If you believe a child is using Haven, write to contact@chathaven.gg. Needs legal review

11. Requests from law enforcement and courts

We respond only to valid legal process, and we check that each request is lawful and no broader than necessary. Requests go to [[LEGAL_REQUESTS_EMAIL]].

What we are able to hand over if legally required, because we hold it in readable form:

  • account details: username, email address if you gave one, sign-up date, profile;
  • content that is not end-to-end encrypted: server-channel messages, their edit history and files;
  • who you talked to and when, your server memberships and friends;
  • session records, and server logs containing IP addresses for as long as those logs exist.

What we hold only in encrypted form, and cannot decrypt: direct messages and group chats (text, edits and files), conversation keys, and your key vault. Calls are not stored at all. As section 3 explains, the protection is against what is stored on and passes through our servers; it would not stop a changed version of the app.

What we do not have: recordings of voice or video calls (we do not record them), your password or recovery key, or your IP address history in our database.

Where the law allows, we will tell you about a request for your data before we answer it. Needs legal review

12. Changes to this policy

When we change this policy we will update the effective date and, for changes that matter, tell you in the app at least [[CHANGE_NOTICE_PERIOD]] before they apply. The tables in sections 2 and 3 describe what has shipped and will change with it.

13. Contact

[[COMPANY_LEGAL_NAME]]
[[COMPANY_ADDRESS]]

  • Privacy and data requests: [[PRIVACY_EMAIL]]
  • General contact and security reports: contact@chathaven.gg
  • Reporting abuse: [[ABUSE_EMAIL]]
  • Law enforcement and legal requests: [[LEGAL_REQUESTS_EMAIL]]