mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-22 14:36:21 +00:00
Pass ProfChatWin to otr_on_message_send
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user