(feat): add a small zoom to the android app
(fix): save ReplyId correctly (qol): update todo
This commit is contained in:
parent
6f03604c90
commit
d355c83c02
9 changed files with 12 additions and 6 deletions
1
packages/cache/src/sync.tsx
vendored
1
packages/cache/src/sync.tsx
vendored
|
|
@ -142,6 +142,7 @@ export default function CacheSync() {
|
|||
MessageState: "sent",
|
||||
SenderId: accountId,
|
||||
SendTime: Number(request.SendTime),
|
||||
ReplyId: request.ReplyId ? Number(request.ReplyId) : undefined,
|
||||
});
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -112,6 +112,7 @@ export default function InputComponent({
|
|||
Content: encryptedContent,
|
||||
ReceiverId: userId,
|
||||
SendTime: time,
|
||||
...(replyTo && { ReplyId: replyTo }),
|
||||
}).catch((e) => {
|
||||
log(0, "Chat", "red", "Failed to send message", e, {
|
||||
ReceiverId: userId,
|
||||
|
|
|
|||
|
|
@ -487,7 +487,7 @@ export default function Screen() {
|
|||
<Wrapper
|
||||
key={getMessageRenderKey(message)}
|
||||
userId={message.SenderId}
|
||||
loading={<Skeleton className="w-30 h-5" />}
|
||||
loading={null}
|
||||
component={(user) => (
|
||||
<Message
|
||||
grouped={isGrouped}
|
||||
|
|
|
|||
|
|
@ -8,6 +8,5 @@
|
|||
- Confirmation when exiting with text in the input box.
|
||||
- Add arrow up hotkey to edit last message (req: packages/hotkeys)
|
||||
- Drop any unique reactions above 10
|
||||
- Add proper loading skeleton for individual messages
|
||||
- Reply jumping
|
||||
- Add emoji picker
|
||||
|
|
|
|||
|
|
@ -314,6 +314,7 @@ export const mtp = {
|
|||
Content: z.base64(),
|
||||
ReceiverId: z.number(),
|
||||
SendTime: z.number(),
|
||||
ReplyId: z.number().optional(),
|
||||
Files: z.array(fileFromMessage).optional(),
|
||||
}),
|
||||
response: z.object({}),
|
||||
|
|
|
|||
Loading…
Reference in a new issue