zulip/zulip-flutter

Show "deleted" users specially

开放

#2,277 创建于 2026年4月15日

 (2 条评论) (0 个反应) (1 位负责人)Dart (456 个派生)github user discovery
a-modelhelp wantedserver-12

仓库指标

星标
 (454 个星标)
PR 合并指标
 (平均合并 25天 15小时) (30 天内合并 22 个 PR)

描述

The server now has a notion of a user being "deleted" but still in the database, and still in the list of users sent to clients. This is a step beyond the existing "deactivated" state; the relevant differences are:

  • Data like the name and avatar will have been scrubbed, replaced with placeholder data.
  • The new is_deleted field on the user object will be true, to signal that this happened.

We should look for this field, and when present avoid consulting other fields like user.fullName. Instead, we'll show e.g. "(deleted user)" for the name (akin to the existing "(unknown user)").

References

贡献者指南