mirror of
https://github.com/profanity-im/profanity.git
synced 2024-11-03 19:37:16 -05:00
parent
9ff7a2a1fe
commit
bdfcc81b07
@ -62,12 +62,14 @@ cb_handle_msg_event(void *opdata, OtrlMessageEvent msg_event,
|
|||||||
ConnContext *context, const char *message,
|
ConnContext *context, const char *message,
|
||||||
gcry_error_t err)
|
gcry_error_t err)
|
||||||
{
|
{
|
||||||
|
if (err != 0) {
|
||||||
if (message != NULL) {
|
if (message != NULL) {
|
||||||
cons_show_error("%s", message);
|
cons_show_error("%s", message);
|
||||||
} else {
|
} else {
|
||||||
cons_show_error("OTR error event with no message.");
|
cons_show_error("OTR error event with no message.");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
otrlib_init_ops(OtrlMessageAppOps *ops)
|
otrlib_init_ops(OtrlMessageAppOps *ops)
|
||||||
|
Loading…
Reference in New Issue
Block a user