diff options
author | James Booth <boothj5@gmail.com> | 2015-05-02 23:23:12 +0100 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2015-05-02 23:23:12 +0100 |
commit | be4ee40ed4566680b15385f6fc736402612e8812 (patch) | |
tree | a09b684b58996174209129b27520ad830fb181d2 /tests | |
parent | 01181780801a46ecc6996be5b75b2245c1c1b953 (diff) | |
download | profani-tty-be4ee40ed4566680b15385f6fc736402612e8812.tar.gz |
Pass ProfChatWin to otr_on_message_send
Diffstat (limited to 'tests')
-rw-r--r-- | tests/otr/stub_otr.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/tests/otr/stub_otr.c b/tests/otr/stub_otr.c index 9815957f..482f0a7f 100644 --- a/tests/otr/stub_otr.c +++ b/tests/otr/stub_otr.c @@ -42,10 +42,7 @@ char* otr_start_query(void) void otr_poll(void) {} void otr_on_connect(ProfAccount *account) {} void otr_on_message_recv(const char * const barejid, const char * const resource, const char * const message) {} -prof_otrsendres_t otr_on_message_send(const char * const barejid, const char * const message) -{ - return PROF_OTRSUCCESS; -} +void otr_on_message_send(ProfChatWin *chatwin, const char * const message) {} void otr_keygen(ProfAccount *account) { @@ -109,9 +106,3 @@ prof_otrpolicy_t otr_get_policy(const char * const recipient) { return PROF_OTRPOLICY_MANUAL; } - -char* otr_senderror_str(prof_otrsendres_t res) -{ - return NULL; -} - |