about summary refs log tree commit diff stats
path: root/tests/unittests/ui
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2016-08-18 22:51:06 +0100
committerJames Booth <boothj5@gmail.com>2016-08-18 22:53:23 +0100
commita978bb12bf0235be9e57e0e08b6328acc88add8b (patch)
treef5245c813a82bcbcf5d403ceed2c9ec189abc3e0 /tests/unittests/ui
parent71dcb2e427ec3e7e15f2131f18d64b84fc6230f8 (diff)
downloadprofani-tty-a978bb12bf0235be9e57e0e08b6328acc88add8b.tar.gz
Send receipt request only when receiver supports feature
issue #829
Diffstat (limited to 'tests/unittests/ui')
-rw-r--r--tests/unittests/ui/stub_ui.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/unittests/ui/stub_ui.c b/tests/unittests/ui/stub_ui.c
index 2f9c3bdb..928000a3 100644
--- a/tests/unittests/ui/stub_ui.c
+++ b/tests/unittests/ui/stub_ui.c
@@ -164,7 +164,8 @@ void privwin_incoming_msg(ProfPrivateWin *privatewin, const char * const message
 void ui_disconnected(void) {}
 void chatwin_recipient_gone(ProfChatWin *chatwin) {}
 
-void chatwin_outgoing_msg(ProfChatWin *chatwin, const char * const message, char *id, prof_enc_t enc_mode) {}
+void chatwin_outgoing_msg(ProfChatWin *chatwin, const char * const message, char *id, prof_enc_t enc_mode,
+    gboolean request_receipt) {}
 void chatwin_outgoing_carbon(ProfChatWin *chatwin, const char * const message, prof_enc_t enc_mode) {}
 void privwin_outgoing_msg(ProfPrivateWin *privwin, const char * const message) {}