mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-23 11:46:21 +00:00
Allow utf8 symbols as omemo/pgp/otr indicator char
Fix https://github.com/profanity-im/profanity/issues/1264
This commit is contained in:
@@ -47,7 +47,8 @@ typedef struct delivery_receipt_t {
|
||||
} DeliveryReceipt;
|
||||
|
||||
typedef struct prof_buff_entry_t {
|
||||
char show_char;
|
||||
// pointer because it could be a unicode symbol as well
|
||||
char *show_char;
|
||||
int pad_indent;
|
||||
GDateTime *time;
|
||||
int flags;
|
||||
@@ -65,7 +66,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,
|
||||
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_remove_entry_by_id(ProfBuff buffer, const char *const id);
|
||||
int buffer_size(ProfBuff buffer);
|
||||
|
||||
Reference in New Issue
Block a user