about summary refs log tree commit diff stats
path: root/src/log.h
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2020-04-06 14:42:52 +0200
committerMichael Vetter <jubalh@iodoru.org>2020-04-06 14:42:52 +0200
commit0942d98c6116dc4b9b608e7483f1d6a8f62c84d7 (patch)
treed8a95379d8ae95f8bedfae740c9cb6cba01ed924 /src/log.h
parent5d54bb228f4ef750edefdd9423f8f672d045ff6c (diff)
downloadprofani-tty-0942d98c6116dc4b9b608e7483f1d6a8f62c84d7.tar.gz
Remove chat_log_get_previous()
We now dont get the log files from the text files via chat_log_get_previous() anymore.
We use the sql backend via log_database_get_previous_chat().

So far it just has the same behaviour like chat_log_get_previous(),
except that in _chatwin_history() we don't pass the sender to
win_print_history() which should be fixed in a commit soon.

And log_database_get_previous_chat() can later easily be expanded to fix
https://github.com/profanity-im/profanity/issues/205.
Diffstat (limited to 'src/log.h')
-rw-r--r--src/log.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/log.h b/src/log.h
index 592c4039..3e29e8ca 100644
--- a/src/log.h
+++ b/src/log.h
@@ -82,7 +82,6 @@ void chat_log_pgp_msg_in(ProfMessage *message);
 void chat_log_omemo_msg_in(ProfMessage *message);
 
 void chat_log_close(void);
-GSList* chat_log_get_previous(const gchar *const login, const gchar *const recipient);
 
 void groupchat_log_init(void);