Third party viewers achieve the custom message by using the transaction type for object sale (5000)
On Mon, Feb 1, 2010 at 1:15 AM, Jacek Antonelli <jacek.antone...@gmail.com>wrote: > 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 > _______________________________________________ > Policies and (un)subscribe information available here: > http://wiki.secondlife.com/wiki/SLDev > Please read the policies before posting to keep unmoderated posting > privileges >
_______________________________________________ Policies and (un)subscribe information available here: http://wiki.secondlife.com/wiki/SLDev Please read the policies before posting to keep unmoderated posting privileges