Add displaytype=raw when sending text
Status: Beta
Brought to you by:
n-wing
Please add
http.setMessageBodyPair("displaytype", "raw");
to sendMessage() in ThreadOutgoing.java so nodelets
are not displayed and ignored (to reduce server load and
so XP updates don't get lost).
This patch applied to
http://perlmonks.org/?node=new+java+chat+client
[Tye]
Logged In: YES
user_id=23976
Fixed in version 0.1.11.4 by having npb.everything.Site have a
function that returns if the site supports raw displaytype, and
the message-sending classes check for this and append
displaytype=raw if so. Currently only activated for Perl Monks,
because (to my knowledge) the other E-sites don't have raw.
(The Everything engine gives a server error page if an
unsupported displaytype is used, which is why we can't just
try to use it for all sites.)