download_attachment(cxn, att, ctx);
}
+ /* If the message is over a day old, don't beep for it. */
+ if (msg_time + 86400 < time(NULL))
+ msg_flags |= PURPLE_MESSAGE_DELAYED;
+
if (parse_string(node, "Content", &content)) {
gchar *escaped = g_markup_escape_text(content, -1);
PurpleMessageFlags flags = 0;
if (sys)
flags |= PURPLE_MESSAGE_SYSTEM;
+ /* If the message is over a day old, don't beep for it. */
+ if (msg_time + 86400 < time(NULL))
+ flags |= PURPLE_MESSAGE_DELAYED;
const gchar *email = chime_contact_get_email(im->peer);
const gchar *from = _("Unknown sender");