mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-23 12:36:21 +00:00
Moved otr properties to WIN_CHAT type
This commit is contained in:
@@ -66,7 +66,6 @@ typedef enum {
|
||||
} win_type_t;
|
||||
|
||||
typedef struct prof_win_t {
|
||||
|
||||
win_type_t type;
|
||||
|
||||
WINDOW *win;
|
||||
@@ -75,11 +74,8 @@ typedef struct prof_win_t {
|
||||
char *chat_resource;
|
||||
int y_pos;
|
||||
int paged;
|
||||
gboolean is_otr;
|
||||
gboolean is_trusted;
|
||||
int unread;
|
||||
int history_shown;
|
||||
|
||||
union {
|
||||
// WIN_CONSOLE
|
||||
struct {
|
||||
@@ -89,6 +85,8 @@ typedef struct prof_win_t {
|
||||
|
||||
// WIN_CHAT
|
||||
struct {
|
||||
gboolean is_otr;
|
||||
gboolean is_trusted;
|
||||
} chat;
|
||||
|
||||
// WIN_MUC
|
||||
@@ -136,5 +134,7 @@ void win_show_subwin(ProfWin *window);
|
||||
int win_roster_cols(void);
|
||||
int win_occpuants_cols(void);
|
||||
void win_printline_nowrap(WINDOW *win, char *msg);
|
||||
gboolean win_is_otr(ProfWin *window);
|
||||
gboolean win_is_trusted(ProfWin *window);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user