Skip to content

Messages ​

Messages are conversations between users, one-on-one and in group chats.

Overview ​

A user's chats open at /m and can be searched by group chat name or by a member's name or address. Messages and the unread counter update in real time. Sending and editing messages, creating group chats and inviting to them require the private_messages subscription feature, see Subscriptions.

Group chat invitations and new messages come with notifications.

Message ​

A message contains up to 10,000 characters of text and an attachment: a file or a GIF. Allowed file types are set in the media settings; GIFs are available when GIF search is set up. A message can be sent as a reply to another message in the same chat. Sending, editing and deleting messages and managing group chats share one limit: 60 actions per minute.

The author edits and deletes their message within the same time as a comment. This time is set in the site settings, and the comment_edit_minutes subscription feature replaces it with its own value.

Private chat ​

A private chat starts from the other user's profile. Two users can have only one private chat. If a user has hidden someone, that person cannot start a chat with them or write in an existing one.

Group chat ​

A group chat is created with a name of up to 64 characters and at least one invitee. A chat holds up to 50 members, invitees included.

Invitations ​

Members join a group chat by invitation. An invitee sees the chat in the list but reads and writes in it only after accepting the invitation. When declining, they can hide the inviter right away.

A user chooses who can invite them in Settings → Blog:

  • Everyone: any user
  • People I follow: users they follow; the default
  • Nobody: invitations are closed

Users whose setting doesn't allow the invitation and those who have hidden the inviter are skipped. The rest receive invitations.

Owner ​

The creator becomes the chat owner. The owner renames the chat, invites and removes members, and deletes the chat with all its messages. Any member can leave the chat.

If the owner leaves, the member who was invited earliest and accepted becomes the owner. The chat is deleted when no members who accepted an invitation remain.

Released under the MIT License.