mirror of
https://github.com/profanity-im/profanity.git
synced 2024-11-03 19:37:16 -05:00
Renamed parameter in win_join_chat
This commit is contained in:
parent
aebca570a4
commit
b329d09c93
2
src/ui.h
2
src/ui.h
@ -106,7 +106,7 @@ void win_remind(void);
|
|||||||
void win_activity(void);
|
void win_activity(void);
|
||||||
void win_no_activity(void);
|
void win_no_activity(void);
|
||||||
|
|
||||||
void win_join_chat(const char * const room_jid, const char * const nick);
|
void win_join_chat(const char * const room, const char * const nick);
|
||||||
void win_show_room_roster(const char * const room);
|
void win_show_room_roster(const char * const room);
|
||||||
int win_in_groupchat(void);
|
int win_in_groupchat(void);
|
||||||
void win_show_room_history(const char * const room_jid, const char * const nick,
|
void win_show_room_history(const char * const room_jid, const char * const nick,
|
||||||
|
@ -542,13 +542,13 @@ win_show_outgoing_msg(const char * const from, const char * const to,
|
|||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
win_join_chat(const char * const room_jid, const char * const nick)
|
win_join_chat(const char * const room, const char * const nick)
|
||||||
{
|
{
|
||||||
int win_index = _find_prof_win_index(room_jid);
|
int win_index = _find_prof_win_index(room);
|
||||||
|
|
||||||
// create new window
|
// create new window
|
||||||
if (win_index == NUM_WINS) {
|
if (win_index == NUM_WINS) {
|
||||||
win_index = _new_prof_win(room_jid);
|
win_index = _new_prof_win(room);
|
||||||
}
|
}
|
||||||
|
|
||||||
_win_switch_if_active(win_index);
|
_win_switch_if_active(win_index);
|
||||||
|
Loading…
Reference in New Issue
Block a user