Changeset 6d544a1
- Timestamp:
- 2010-11-20T11:48:04Z (14 years ago)
- Branches:
- master
- Children:
- ef043d3
- Parents:
- 4eb75b2
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/jabber/jabber.c
r4eb75b2 r6d544a1 460 460 imcb_error( ic, "Already present in chat `%s'", room ); 461 461 else 462 return jabber_chat_join( ic, room, nick, password);462 return jabber_chat_join( ic, room, nick, set_getstr( sets, "password" ) ); 463 463 464 464 return NULL; … … 552 552 } 553 553 554 void jabber_chat_add_settings( account_t *acc, set_t **head ) 555 { 556 /* Meh. Stupid room passwords. Not trying to obfuscate/hide 557 them from the user for now. */ 558 set_add( head, "password", NULL, NULL, NULL ); 559 } 560 561 void jabber_chat_free_settings( account_t *acc, set_t **head ) 562 { 563 set_del( head, "password" ); 564 } 565 554 566 void jabber_initmodule() 555 567 { … … 557 569 558 570 ret->name = "jabber"; 559 571 ret->mms = 0; /* no limit */ 560 572 ret->login = jabber_login; 561 573 ret->init = jabber_init; … … 573 585 ret->chat_leave = jabber_chat_leave_; 574 586 ret->chat_join = jabber_chat_join_; 587 ret->chat_add_settings = jabber_chat_add_settings; 588 ret->chat_free_settings = jabber_chat_free_settings; 575 589 ret->keepalive = jabber_keepalive; 576 590 ret->send_typing = jabber_send_typing;
Note: See TracChangeset
for help on using the changeset viewer.