Changes in protocols/jabber/jabber.c [2ff2076:5bd21df]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/jabber/jabber.c
r2ff2076 r5bd21df 226 226 jd->cached_id_prefix = g_strdup_printf( "%s%s", JABBER_CACHED_ID, s ); 227 227 g_free( s ); 228 229 printf( "%s\n", jd->cached_id_prefix );230 228 } 231 229 … … 272 270 return jabber_write( ic, message, strlen( message ) ); 273 271 274 if( ( s = strchr( who, '=' ) ) && jabber_chat_by_ name( ic, s + 1 ) )272 if( ( s = strchr( who, '=' ) ) && jabber_chat_by_jid( ic, s + 1 ) ) 275 273 bud = jabber_buddy_by_ext_jid( ic, who, 0 ); 276 274 else … … 399 397 if( strchr( room, '@' ) == NULL ) 400 398 imcb_error( ic, "Invalid room name: %s", room ); 401 else if( jabber_chat_by_ name( ic, room ) )399 else if( jabber_chat_by_jid( ic, room ) ) 402 400 imcb_error( ic, "Already present in chat `%s'", room ); 403 401 else … … 502 500 ret->send_typing = jabber_send_typing; 503 501 ret->handle_cmp = g_strcasecmp; 504 ret->transfer_request = jabber_si_transfer_request;505 502 506 503 register_protocol( ret );
Note: See TracChangeset
for help on using the changeset viewer.