freetalk-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Freetalk-dev] Freetalk does not allow setting status messages


From: Matthias Quasthoff
Subject: [Freetalk-dev] Freetalk does not allow setting status messages
Date: Thu, 10 Aug 2006 09:28:33 +0200

Hi all,

it seems the /status command does not work correctly. It creates a
message like

<presence from="address@hidden">
  <show>Gone to England</show>
</presence>

which is not valid. Show has to be "away", "chat", "xa" or "dnd" and
must be omitted if the desired status is online. The user text has to go
to the status child. An example from
http://www.jabber.org/ietf/attic/draft-jabber-00.html is

<presence from="address@hidden">
  <show>xa</show>
  <status>Gone to England</status>
</presence>

My patch attached to this mail changes do_set_status_msg: It checks if
the status message begins with "online", "away", "chat", "xa or "dnd".
This part goes to the show element ("online" is ignored). If there is a
remainder, it goes to the status element. Now /status could be called
like

/status xa Gone to England
/status online

Best,
Matthias

Attachment: freetalk-status.diff
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]