melod1n 723555f634 feat(messages): Implement reply functionality
This commit introduces the ability to reply to messages.

- **API & Data Layer:**
  - Replaced `replyTo` parameter with `forward` in `sendMessage` calls across the data, domain, and repository layers to support the new reply mechanism.

- **ViewModel:**
  - Added logic to handle the reply state, including storing the replied message's ID (`replyToCmId`).
  - When a message is sent, it now correctly constructs a `forward` JSON object if it is a reply.
  - The UI state (`MessagesHistoryScreenState`) is updated to show and hide the reply preview.
  - Added a `onReplyCloseClicked` handler to cancel a reply.
  - The ViewModel interface was removed, and the implementation class `MessagesHistoryViewModelImpl` is used directly.

- **UI (Compose):**
  - A new `ReplyContainer` is displayed above the message input bar when a reply is active.
  - The input bar's corner radius animates to integrate with the reply container.
  - Added a `FocusRequester` to automatically focus the input field when the reply action is selected.
  - Added spacing in the message list to prevent the reply preview from overlapping messages.
  - The message options dialog now passes the `messageId` and `cmId` when an option is picked.
2025-12-03 06:12:44 +03:00
2024-08-09 18:10:57 +03:00
2025-12-02 04:10:35 +03:00
2021-02-18 13:53:53 +03:00
2024-07-10 16:12:32 -07:00
2024-08-11 17:40:13 +03:00
2024-07-10 16:12:32 -07:00
2025-03-21 03:13:17 +03:00
2025-03-21 03:13:17 +03:00
2021-02-18 13:53:53 +03:00
2025-12-03 06:07:45 +03:00
2025-03-23 09:22:41 +03:00

fast-messenger

Unofficial messenger for russian social network VKontakte

Functionality

  • Authorization
    • 2FA support
      • Resend otp
    • Captcha support
    • Support for new authorization with service and refresh tokens
    • Handle token expiration
    • Ability to export/import tokens
  • Conversations list
    • Pagination
    • Manual refresh
    • Pin & unpin conversations
    • Delete conversations
    • Archive
      • View archived conversations
      • Archive & unarchive conversations
  • Friends list
    • Sort alphabetically, by priority or random
    • Separate tab with only friends who are online
  • Settings screen
    • TODO
  • Chat screen
    • Pagination
    • Manual refresh
    • Message bubbles
      • Text
      • Date
      • Read status
      • Edit status
      • Sending status
      • Message's attachments
        • Photo
        • Video
        • Audio
        • File
        • Link
        • Sticker
        • Reply
        • Forwarded messages
        • Wall post
        • Comment in wall post
        • Poll
        • TODO
    • Send messages
    • Pinned message
    • Pin & unpin messages
    • Reply to message
    • Delete message
    • Select multiple messages
      • Delete
      • Forward
      • Forward in current chat
    • Send attachments to chat
      • TODO
  • Chat materials (attachments)
    • Separate tabs for each attachment type
      • Pagination
      • Manual refresh
    • View attachments
      • Open photo
        • Internal viewer
        • External viewer
      • Open video in external player
      • TODO
  • Caching
    • TODO
S
Description
Unofficial messenger for russian social network VKontakte
Readme GPL-3.0 22 MiB
Languages
Kotlin 100%