Changeset 3320d6d for protocols/jabber/conference.c
- Timestamp:
- 2016-03-20T03:58:05Z (8 years ago)
- Branches:
- master
- Children:
- 4e0e590
- Parents:
- 63825d6
- git-author:
- dequis <dx@…> (10-03-16 05:20:31)
- git-committer:
- dequis <dx@…> (20-03-16 03:58:05)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/jabber/conference.c
r63825d6 r3320d6d 28 28 static xt_status jabber_chat_self_message(struct im_connection *ic, struct xt_node *node, struct xt_node *orig); 29 29 30 struct groupchat *jabber_chat_join(struct im_connection *ic, const char *room, const char *nick, const char *password) 30 struct groupchat *jabber_chat_join(struct im_connection *ic, const char *room, const char *nick, const char *password, 31 gboolean always_use_nicks) 31 32 { 32 33 struct jabber_chat *jc; … … 57 58 g_free(jc); 58 59 return NULL; 60 } 61 62 if (always_use_nicks) { 63 jc->flags = JCFLAG_ALWAYS_USE_NICKS; 59 64 } 60 65 … … 95 100 g_free(cserv); 96 101 97 c = jabber_chat_join(ic, rjid, jd->username, NULL );102 c = jabber_chat_join(ic, rjid, jd->username, NULL, FALSE); 98 103 g_free(rjid); 99 104 if (c == NULL) { … … 341 346 *s = 0; /* Should NEVER be NULL, but who knows... */ 342 347 } 348 349 if (bud != jc->me && (jc->flags & JCFLAG_ALWAYS_USE_NICKS) && !(bud->flags & JBFLAG_IS_ANONYMOUS)) { 350 imcb_buddy_nick_change(ic, bud->ext_jid, bud->resource); 351 } 352 343 353 imcb_chat_add_buddy(chat, bud->ext_jid); 344 354 if (s) {
Note: See TracChangeset
for help on using the changeset viewer.