messages: created_at never stamped on save #25
Labels
No labels
prio_critical
prio_low
type_bug
type_contact
type_issue
type_lead
type_question
type_story
type_task
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
lhumina_code/hero_osis#25
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The server-side
chatmessage_trigger_save_pretrigger incrates/hero_osis_server/src/communication/server/rpc.rswas a no-op, so every saved message keptcreated_at = 0/updated_at = 0.This surfaced in the messaging UI as
00:00times on every message bubble and anInvalid Date/Jan 1 1970entry in the conversation list when the server data was first loaded.Expected: every persisted
ChatMessagehas a non-zero creation time the first time it is stored, andupdated_atrefreshes on every subsequent save.Proposed fix: stamp
created_at(when 0) andupdated_atin the centralchatmessage_trigger_save_pretrigger — one hook coverssend_message,reply_to_message,add_reaction, and any future handler.zaelgohary referenced this issue2026-04-19 08:26:46 +00:00
bug: ChatMessage.created_at / updated_at never stamped on saveto messages: created_at never stamped on savezaelgohary referenced this issue from lhumina_code/hero_os2026-04-19 09:26:23 +00:00