- Ya
- 14 Agosti 2026, 02:13 UTC
- Mwandishi
- kamo
- Ahadi ya
- d209bfc
Closing a ticket put "How was your experience?" in front of every agent in the conversation — the people who did the work, invited to score themselves. Since a ticket can now be worked by several agents, that is several people rather than one. TicketRating gated on the ticket's status alone and never on who was looking. The server has always refused a rating from anyone but the requestor, so nothing could actually be filed; this was a form shown to people whose submission would have been rejected. The gate takes the viewer's member id rather than a ready-made boolean, so the rule lives next to the ticket it is a rule about and cannot be got wrong by a later call site that forgets to work it out. It reuses viewerSide, the same rule the chat sides itself with, so "who is the requestor" is answered in one place. Fails closed: an unresolved viewer id hides it. Waiting a moment for the real answer costs nothing, and asking the wrong person is the whole bug.