about summary refs log tree commit diff stats
path: root/src/ui/buffer.h
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2020-03-09 13:37:01 +0100
committerMichael Vetter <jubalh@iodoru.org>2020-03-09 13:37:01 +0100
commita23d4e4af7c10f6762577940a12983903bf4428d (patch)
tree1ae89be41cb7b9edd15a8cbcbf29abaa9dee7cc1 /src/ui/buffer.h
parent441e31984e7d609eda6a340fa391c6ad00bac5de (diff)
parent083ba7808d3ed8e77aeabfbe3f155681c36b80b3 (diff)
downloadprofani-tty-a23d4e4af7c10f6762577940a12983903bf4428d.tar.gz
Merge branch 'buffer-from'
Regards https://github.com/profanity-im/profanity/issues/805
Completes https://github.com/profanity-im/profanity/pull/1267

We now check who tries to "correct" a sent message.
Diffstat (limited to 'src/ui/buffer.h')
-rw-r--r--src/ui/buffer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/buffer.h b/src/ui/buffer.h
index 1ed7d4ae..997e2a49 100644
--- a/src/ui/buffer.h
+++ b/src/ui/buffer.h
@@ -56,6 +56,7 @@ typedef struct prof_buff_entry_t {
     // from as it is displayed
     // might be nick, jid..
     char *display_from;
+    char *from_jid;
     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);