Dirty hack to avoid displaying a single ")" at the end of each message
This commit is contained in:
parent
27f73d0c94
commit
94d40c4455
|
@ -430,6 +430,9 @@ static int _context_fetch(AccountPlugin * plugin, char const * answer)
|
|||
switch(cmd->data.fetch.status)
|
||||
{
|
||||
case I4FS_BODY:
|
||||
/* FIXME dirty hack for now */
|
||||
if(strcmp(answer, ")") == 0)
|
||||
return 0;
|
||||
helper->message_set_body(message->message, answer,
|
||||
strlen(answer), 1);
|
||||
helper->message_set_body(message->message, "\r\n",
|
||||
|
|
Loading…
Reference in New Issue
Block a user