mirror of
https://github.com/profanity-im/profanity.git
synced 2024-11-03 19:37:16 -05:00
Renamed room_chat function
This commit is contained in:
parent
b329d09c93
commit
77888c3841
@ -346,7 +346,7 @@ _groupchat_message_handler(xmpp_stanza_t * const stanza)
|
||||
if (subject != NULL) {
|
||||
message = xmpp_stanza_get_text(subject);
|
||||
if (message != NULL) {
|
||||
room = room_get_room_for_full_jid(room_jid);
|
||||
room = room_get_room_from_full_jid(room_jid);
|
||||
prof_handle_room_subject(room, message);
|
||||
}
|
||||
|
||||
|
@ -98,7 +98,7 @@ room_get_nick_for_room(const char * const room)
|
||||
}
|
||||
|
||||
char *
|
||||
room_get_room_for_full_jid(const char * const full_room_jid)
|
||||
room_get_room_from_full_jid(const char * const full_room_jid)
|
||||
{
|
||||
char **tokens = g_strsplit(full_room_jid, "/", 0);
|
||||
char *room_part;
|
||||
|
@ -29,7 +29,7 @@ void room_join(const char * const room, const char * const nick);
|
||||
void room_leave(const char * const room);
|
||||
gboolean room_is_active(const char * const full_room_jid);
|
||||
char * room_get_nick_for_room(const char * const room);
|
||||
char * room_get_room_for_full_jid(const char * const full_room_jid);
|
||||
char * room_get_room_from_full_jid(const char * const full_room_jid);
|
||||
gboolean room_parse_room_jid(const char * const full_room_jid, char **room,
|
||||
char **nick);
|
||||
void room_add_to_roster(const char * const room, const char * const nick);
|
||||
|
Loading…
Reference in New Issue
Block a user