AI Cove

Direct messages & avatars

Category: CommunityTags:私信头像通知

How avatars appear in DM conversations and message threads, server-provided URLs and fallbacks, and forwarding DMs to Telegram.

Last updated: 2026-11-17

Avatar sources

  • Each DM conversation returns avatar_url: custom avatars point to /api/v1/avatar-custom/<username>?v=<version>, otherwise /avatar/<username> is used.
  • The thread header returns with_avatar and every message returns avatar_url; the frontend only displays them and never probes for avatar existence.
  • Avatars are resolved in batches by the server to avoid per-conversation N+1 queries; they are display-only and never change DM visibility or notification permissions.

Display and fallback

  • The other party's avatar sits left of the bubble, while your own messages stay right-aligned; at 390px the conversation list stacks above the thread.
  • Images use loading=lazy and an empty alt because the username is already visible; a broken custom avatar falls back to the /avatar/<username> default.

Forwarding DMs to Telegram

  • When enabled, site DMs are forwarded to Telegram as a notice; the message body itself is never forwarded.
  • Forwarding only works while your account is bound to Telegram and the switch is on; the TG DM forwarding switch is off by default.
  • Unbinding, blocking or turning the switch off stops forwarding at once, and chat content never enters logs or stats.