[sldev] 'L$ received' notification generated server side?

Jacek Antonelli jacek.antonelli at gmail.com
Sun Jan 31 22:15:42 PST 2010


I've been working on SNOW-436 ("Optional text for payments to show up
in transaction history"), and at the moment I'm trying to figure out
if it's possible to display the custom message when you receive a payment.

In other words, in the blue notification box where it currently says
"So-and-so paid you L$100", I'd like to make it also display the
message, like how teleport requests and friend requests do. But, I'm
starting to think that the notification text is generated server side,
which would put a damper on those plans.

The notification text seems to be constructed in
llinventory/lltransactionflags.cpp, in the function
"build_transfer_message_to_destination". But, that function is never
called by the viewer, so I'm guessing it is used by the server instead.

Could a Linden confirm that the notification text is indeed generated
server side?

If so, would it be feasible to shift that to client side? That is,
have the server send the payer name/UUID, money amount, and the custom
message ("description") to the viewer, and let the viewer format the
notification text?

It seems like that would be a good idea anyway, because then "paid
you" could be localized, too. :)

- Jacek


More information about the SLDev mailing list