diff options
author | Will Thompson <will.thompson@collabora.co.uk> | 2011-03-17 15:33:40 +0000 |
---|---|---|
committer | Will Thompson <will.thompson@collabora.co.uk> | 2011-03-17 15:33:40 +0000 |
commit | c0638dd2dfc88c5d8404618fe359f5a1185d13d0 (patch) | |
tree | 98bc4793b672de14d6b43affcd2b50a5a725f857 | |
parent | 43cd47e8868587e6304dbf305135424443f11cc1 (diff) |
examples: correctly publish 'chat' presence
-rw-r--r-- | examples/receive-messages.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/receive-messages.c b/examples/receive-messages.c index 8113f1c..1f8a072 100644 --- a/examples/receive-messages.c +++ b/examples/receive-messages.c @@ -152,8 +152,10 @@ connected_cb ( * with a status message. */ stanza = wocky_stanza_build (WOCKY_STANZA_TYPE_PRESENCE, WOCKY_STANZA_SUB_TYPE_NONE, NULL, NULL, + '(', "show", + '$', "chat", + ')', '(', "status", - '@', "show", "chat", '$', "talk to me! (or tell me to “sign out”)", ')', NULL); |