Messaging UI - Profile Settings

This page describes the settings of the profile screen, the profile photos and the media of a profile. profileViewer sets the profile screen. profileEditor sets the editor of the user profile and of group profiles.

Profile screen

The profile screen shows a user profile or a group profile, full screen. From the top:

  1. The picture, the name and the status, under a transparent toolbar. A tap on the picture shows it full screen.
  2. A row of round buttons. The first is Message: it opens the chat, or goes back to it. The app adds its own buttons after it, for example voice and video call, in MesiboUI_onInitScreen.
  3. The settings of the chat, for example mute, block and disappearing messages.

The More menu of the toolbar has Encryption while end-to-end encryption is on, followed by the app’s own items. Encryption is shown for user profiles only; group chats are not end-to-end encrypted.

Block calls has three choices: off, video calls only, or all calls.

SettingDescription
profileViewer.enableMessageButtonThe Message button (default on)
profileViewer.messageButtonTitleThe text of the Message button
profileViewer.encryptionTitleThe Encryption item of the More menu
profileViewer.enableBlockMessages, profileViewer.enableBlockCallsThe Block messages and Block calls rows
profileViewer.blockCallsTitleThe title of the Block calls row
profileViewer.blockNoCallsTitle, .blockVideoCallsTitle, .blockAllCallsTitleThe choices of Block calls. Default: Off, Video calls, All calls
profileViewer.showAddress, profileViewer.showLastSeenThe address and the last seen time of a user

Profile photos

A user profile or a group profile has up to profileEditor.maxPhotos photos (default 8). The first photo is the main photo.

The profile editor and the group editor show the main photo with a + button, and under it a row of all the photos:

  • A tap on the main photo opens the photos in the viewer.
  • The + button, on the main photo or at the end of the row, adds photos.
  • A tap on a photo in the row offers View, Make main photo and Remove.
  • A new photo opens in the photo editor, with the crop fixed to a square. A photo that is not cropped is cut to the centered square.
  • Changes are saved when the user taps Save.

Only group admins can change the photos of a group. With maxPhotos set to 1, the editor shows one photo and no row.

SettingDescription
profileEditor.maxPhotosThe number of photos of a profile (default 8)
profileEditor.photosTitle, .addPhotosTitle, .makeMainPhotoTitleThe texts of the editor

Profile media

The profile screen has a Media and docs row with the number of files and links in the chat. Under it is a strip of the latest photos and videos. A tap on a picture opens the viewer, which swipes through the others.

The row, and the > at the end of the strip, open the media screen. The media screen has four tabs: Photos, Videos, Documents and Links. Items are newest first, under month headers, and load while scrolling.

  • A tap on a photo or video opens the viewer.
  • A tap on a document opens it. A document not downloaded yet is downloaded first.
  • Links show their preview picture and title. A tap opens the link.
SettingDescription
profileViewer.showMediaThe media row and strip (default on)
profileViewer.mediaTitleThe row and the title of the media screen. Default: Media and docs
profileViewer.photosTitle, .videosTitle, .documentsTitle, .linksTitleThe tabs of the media screen
profileViewer.emptyPhotosMessage, .emptyVideosMessage, .emptyDocumentsMessage, .emptyLinksMessageShown when a tab has no items