mirror of
https://github.com/profanity-im/profanity.git
synced 2025-02-02 15:08:15 -05:00
Added subject to chat room
This commit is contained in:
parent
e073b69a98
commit
3558df8884
@ -31,6 +31,7 @@
|
||||
typedef struct _muc_room_t {
|
||||
char *room;
|
||||
char *nick;
|
||||
char *subject;
|
||||
gboolean pending_nick_change;
|
||||
GHashTable *roster;
|
||||
PAutocomplete nick_ac;
|
||||
@ -365,6 +366,10 @@ _room_free(muc_room *room)
|
||||
g_free(room->nick);
|
||||
room->nick = NULL;
|
||||
}
|
||||
if (room->subject != NULL) {
|
||||
g_free(room->subject);
|
||||
room->subject = NULL;
|
||||
}
|
||||
if (room->roster != NULL) {
|
||||
g_hash_table_remove_all(room->roster);
|
||||
room->roster = NULL;
|
||||
|
Loading…
x
Reference in New Issue
Block a user