Changeset 9c9b37c
- Timestamp:
- 2007-07-01T19:58:23Z (17 years ago)
- Branches:
- master
- Children:
- c377417
- Parents:
- b9f8b87
- Location:
- protocols/jabber
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/jabber/conference.c
rb9f8b87 r9c9b37c 54 54 return NULL; 55 55 } 56 g_free( roomjid ); 56 57 /* roomjid isn't normalized yet, and we need an original version 58 of the nick to send a proper presence update. */ 59 jc->my_full_jid = roomjid; 57 60 58 61 c = imcb_chat_new( ic, room ); … … 89 92 node = xt_new_node( "x", NULL, NULL ); 90 93 xt_add_attr( node, "xmlns", XMLNS_MUC ); 91 node = jabber_make_packet( "presence", "unavailable", jc->m e->full_jid, node );94 node = jabber_make_packet( "presence", "unavailable", jc->my_full_jid, node ); 92 95 93 96 if( !jabber_write_packet( ic, node ) ) -
protocols/jabber/jabber.h
rb9f8b87 r9c9b37c 119 119 int flags; 120 120 char *name; 121 char *my_full_jid; /* Separate copy because of case sensitivity. */ 121 122 struct jabber_buddy *me; 122 123 }; -
protocols/jabber/presence.c
rb9f8b87 r9c9b37c 195 195 struct jabber_chat *jc = c->data; 196 196 197 xt_add_attr( node, "to", jc->m e->full_jid );197 xt_add_attr( node, "to", jc->my_full_jid ); 198 198 st = jabber_write_packet( ic, node ); 199 199 }
Note: See TracChangeset
for help on using the changeset viewer.