[FEAT]: Server: delete a conversation for me / for everyone

オープン
#87 コメント 0 件 リアクション 0 件 担当者 1 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@mrsumanbiswas がすでに取り組んでいます。

2026年7月9日 から。

評価

この issue はまだ評価されていません。

説明

area: server difficulty: medium enhancement

Part of #30.

What to do

  • For me: store a per-user "cleared at" time per conversation (new migration, e.g. conversation_clears(user_id, peer_id, group_id, cleared_at)). History and the conversation list skip messages older than it, for that user only.
  • For everyone: DELETE that removes the caller's own messages in a direct conversation (agree the exact rule in #30 first).
  • Groups: admin-only DELETE /api/groups/{id}.
  • Send a WebSocket event so the other person's app can update.
  • Document the endpoints in docs/API_CONTRACTS.md.

Where to look

server/routes/messages.go, server/routes/groups.go, server/repository/message.go (GetChatHistory, GetConversations), server/migrations/, server/middlewares (GroupAdminGuard).

主要言語
Dart
スター
9
フォーク
5
平均マージ
49分
マージ済み PR(30日)
34

環境構築

  • Dockerfile または Docker Compose ファイルあり
  • プルリクエストのテンプレートなし
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

CommandLineCoding/Elephant のほかの issue

CommandLineCoding/Elephant の issue をすべて見る

似ている issue

Dart の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。