aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/jabber/presence.c
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2007-07-01 20:58:23 +0100
committerWilmer van der Gaast <wilmer@gaast.net>2007-07-01 20:58:23 +0100
commit9c9b37cbfa27a038bc57624cb9001f8db019290c (patch)
tree7fa0b45faaefb5b79e1688b7d95fb34f3f7c384d /protocols/jabber/presence.c
parentb9f8b870f7b884747b747be91ce0ac797a7c6e82 (diff)
Keeping an original (not normalized) copy of the user's nickname. This
fixes a bug reported by James Teh in the monster ticket #20. There's no proper garbage collection yet in the Jabber conference code, really have to do that soon. :-(
Diffstat (limited to 'protocols/jabber/presence.c')
-rw-r--r--protocols/jabber/presence.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/jabber/presence.c b/protocols/jabber/presence.c
index 63d4f66a..e53978ea 100644
--- a/protocols/jabber/presence.c
+++ b/protocols/jabber/presence.c
@@ -194,7 +194,7 @@ int presence_send_update( struct im_connection *ic )
{
struct jabber_chat *jc = c->data;
- xt_add_attr( node, "to", jc->me->full_jid );
+ xt_add_attr( node, "to", jc->my_full_jid );
st = jabber_write_packet( ic, node );
}