feat: chat

This commit is contained in:
gosangam
2026-08-29 03:49:58 +05:30
parent 3257efb06a
commit 523b6fa7e8
34 changed files with 5381 additions and 11 deletions
+7
View File
@@ -168,6 +168,13 @@ export type RelationshipState = {
blocked: boolean;
/** they have blocked you. */
blocked_by: boolean;
/** Whether the viewer may START a conversation with this profile. Reflects
* the target's "who can message you" setting and any block, so the Message
* button is only offered when tapping it would actually work. */
can_message: boolean;
/** The target's rule when `can_message` is false — one of "blocked",
* "friends", "account_age", "same_gender" — so the UI can explain why. */
message_restriction?: string;
};
/** Returned by every relationship mutation: the recomputed state plus