Add barejid to buffer struct
This commit is contained in:
@@ -56,6 +56,7 @@ typedef struct prof_buff_entry_t {
|
||||
// from as it is displayed
|
||||
// might be nick, jid..
|
||||
char *display_from;
|
||||
char *barejid;
|
||||
char *message;
|
||||
DeliveryReceipt *receipt;
|
||||
// message id, in case we have it
|
||||
@@ -66,8 +67,7 @@ typedef struct prof_buff_t *ProfBuff;
|
||||
|
||||
ProfBuff buffer_create();
|
||||
void buffer_free(ProfBuff buffer);
|
||||
void buffer_append(ProfBuff buffer, const char *show_char, int pad_indent, GDateTime *time,
|
||||
int flags, theme_item_t theme_item, const char *const display_from, const char *const message, DeliveryReceipt *receipt, const char *const id);
|
||||
void buffer_append(ProfBuff buffer, const char *show_char, int pad_indent, GDateTime *time, int flags, theme_item_t theme_item, const char *const display_from, const char *const barejid, const char *const message, DeliveryReceipt *receipt, const char *const id);
|
||||
void buffer_remove_entry_by_id(ProfBuff buffer, const char *const id);
|
||||
int buffer_size(ProfBuff buffer);
|
||||
ProfBuffEntry* buffer_get_entry(ProfBuff buffer, int entry);
|
||||
|
||||
Reference in New Issue
Block a user